From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: pte_offset_map for ppc assumes HIGHPTE From: Benjamin Herrenschmidt In-Reply-To: <200707251830.21944.dave.mccracken@oracle.com> References: <1185405765.5439.371.camel@localhost.localdomain> <200707251830.21944.dave.mccracken@oracle.com> Content-Type: text/plain Date: Thu, 26 Jul 2007 10:18:13 +1000 Message-Id: <1185409094.5495.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Dave McCracken Cc: Andreas Schwab , Satya , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Wed, 2007-07-25 at 18:30 -0500, Dave McCracken wrote: > On Wednesday 25 July 2007, Benjamin Herrenschmidt wrote: > > Depends... if you have CONFIG_HIGHMEM and not CONFIG_HIGHPTE, you are > > wasting time going through kmap_atomic unnecessarily no ? it will probably > > not do anything because the PTE page is in lowmem but still... > > Probably not much time. You still need to do the page to virtual translation, > which kmap_atomic does for you. Fair enough. Ben. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org