From: Keir Fraser Subject: Re: [RFC PATCH 30/35] Add generic_page_range() function Date: Wed, 22 Mar 2006 15:35:09 +0000 Message-ID: <503082446ce33efbf163ad2af63bb0e1@cl.cam.ac.uk> References: <20060322063040.960068000@sorel.sous-sol.org> <20060322063805.741915000@sorel.sous-sol.org> <44213333.6030404@yahoo.com.au> <79fcd3fd1d13741c5d1cd3c6f5b326b9@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <79fcd3fd1d13741c5d1cd3c6f5b326b9@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Nick Piggin , xen-devel@lists.xensource.com, Ian Pratt , linux-kernel@vger.kernel.org, Chris Wright , virtualization@lists.osdl.org List-Id: xen-devel@lists.xenproject.org On 22 Mar 2006, at 14:33, Keir Fraser wrote: > Okay, can you suggest a better one? That's the best I could come up > with that wasn't long winded. How about apply_to_page_range()? > >> secondly, I think you confuse our (confusing) terminology: the page >> that holds pte_ts is not the pte_page, the pte_page is the page that >> a pte points to > > What should we call it? Essentially we want to be able to get the > physical address of a PTE in some cases, and passing struct page > pointer seemed the best way to be able to derive that. I can rename it > to something else vaguely plausible if the only problem is the > semantic clash with Linux's idiomatic use of pte_page. Looks like pmd_page is correct? -- Keir