From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ms-smtp-04.texas.rr.com (ms-smtp-04.texas.rr.com [24.93.47.43]) by ozlabs.org (Postfix) with ESMTP id A3FCBDDE9C for ; Thu, 26 Jul 2007 09:32:03 +1000 (EST) From: Dave McCracken To: Benjamin Herrenschmidt Subject: Re: pte_offset_map for ppc assumes HIGHPTE Date: Wed, 25 Jul 2007 18:30:21 -0500 References: <1185405765.5439.371.camel@localhost.localdomain> In-Reply-To: <1185405765.5439.371.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200707251830.21944.dave.mccracken@oracle.com> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. Dave McCracken From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932768AbXGYXcX (ORCPT ); Wed, 25 Jul 2007 19:32:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759715AbXGYXcO (ORCPT ); Wed, 25 Jul 2007 19:32:14 -0400 Received: from ms-smtp-04.texas.rr.com ([24.93.47.43]:62579 "EHLO ms-smtp-04.texas.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752352AbXGYXcN (ORCPT ); Wed, 25 Jul 2007 19:32:13 -0400 From: Dave McCracken To: Benjamin Herrenschmidt Subject: Re: pte_offset_map for ppc assumes HIGHPTE Date: Wed, 25 Jul 2007 18:30:21 -0500 User-Agent: KMail/1.9.7 Cc: Andreas Schwab , Satya , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <1185405765.5439.371.camel@localhost.localdomain> In-Reply-To: <1185405765.5439.371.camel@localhost.localdomain> Organization: Oracle Corp MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707251830.21944.dave.mccracken@oracle.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. Dave McCracken From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave McCracken Subject: Re: pte_offset_map for ppc assumes HIGHPTE Date: Wed, 25 Jul 2007 18:30:21 -0500 References: <1185405765.5439.371.camel@localhost.localdomain> In-Reply-To: <1185405765.5439.371.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707251830.21944.dave.mccracken@oracle.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Benjamin Herrenschmidt Cc: Andreas Schwab , Satya , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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. Dave McCracken -- 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