From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267859AbUHKApf (ORCPT ); Tue, 10 Aug 2004 20:45:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267856AbUHKApf (ORCPT ); Tue, 10 Aug 2004 20:45:35 -0400 Received: from holomorphy.com ([207.189.100.168]:54509 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S267855AbUHKApd (ORCPT ); Tue, 10 Aug 2004 20:45:33 -0400 Date: Tue, 10 Aug 2004 17:45:27 -0700 From: William Lee Irwin III To: "Seth, Rohit" Cc: "Chen, Kenneth W" , Hirokazu Takahashi , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Hugetlb demanding paging for -mm tree Message-ID: <20040811004527.GJ11200@holomorphy.com> Mail-Followup-To: William Lee Irwin III , "Seth, Rohit" , "Chen, Kenneth W" , Hirokazu Takahashi , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org References: <01EF044AAEE12F4BAAD955CB750649430205DDE1@scsmsx401.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01EF044AAEE12F4BAAD955CB750649430205DDE1@scsmsx401.amr.corp.intel.com> User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org William Lee Irwin III wrote on Tuesday, >> Could you rephrase that? I'm having trouble figuring out what you >> meant. On Tue, Aug 10, 2004 at 05:28:27PM -0700, Seth, Rohit wrote: > I was thinking that we only need to worry about the d-cache coherency at > the time of hugepage fault. But that is not a safe assumption. You are > right that we will need update_mmu_cache in the hugetlb page fault path. > Though I'm wondering if we can hide this update_mmu_cache fucntionality > behind the arch specific set_huge_pte function in the demand paging > patch for hugepage. If so then we may not need to make any changes in > the existing update_mmu_cache API. Most arches seem to be okay with the API, but it may be more useful/etc. to e.g. explicitly pass the page size, particularly when constant folding is possible. -- wli