From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Dave McCracken <dave.mccracken@oracle.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
linuxppc-dev@ozlabs.org
Subject: Re: pte_offset_map for ppc assumes HIGHPTE
Date: Thu, 26 Jul 2007 10:18:13 +1000 [thread overview]
Message-ID: <1185409094.5495.0.camel@localhost.localdomain> (raw)
In-Reply-To: <200707251830.21944.dave.mccracken@oracle.com>
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.
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Dave McCracken <dave.mccracken@oracle.com>
Cc: Andreas Schwab <schwab@suse.de>, Satya <satyakiran@gmail.com>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: pte_offset_map for ppc assumes HIGHPTE
Date: Thu, 26 Jul 2007 10:18:13 +1000 [thread overview]
Message-ID: <1185409094.5495.0.camel@localhost.localdomain> (raw)
In-Reply-To: <200707251830.21944.dave.mccracken@oracle.com>
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.
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Dave McCracken <dave.mccracken@oracle.com>
Cc: Andreas Schwab <schwab@suse.de>, Satya <satyakiran@gmail.com>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: pte_offset_map for ppc assumes HIGHPTE
Date: Thu, 26 Jul 2007 10:18:13 +1000 [thread overview]
Message-ID: <1185409094.5495.0.camel@localhost.localdomain> (raw)
In-Reply-To: <200707251830.21944.dave.mccracken@oracle.com>
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2007-07-26 0:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 22:16 pte_offset_map for ppc assumes HIGHPTE Satya
2007-07-25 22:16 ` Satya
2007-07-25 23:10 ` Benjamin Herrenschmidt
2007-07-25 23:10 ` Benjamin Herrenschmidt
2007-07-25 23:10 ` Benjamin Herrenschmidt
2007-07-25 23:18 ` Andreas Schwab
2007-07-25 23:18 ` Andreas Schwab
2007-07-25 23:18 ` Andreas Schwab
2007-07-25 23:22 ` Benjamin Herrenschmidt
2007-07-25 23:22 ` Benjamin Herrenschmidt
2007-07-25 23:22 ` Benjamin Herrenschmidt
2007-07-25 23:30 ` Dave McCracken
2007-07-25 23:30 ` Dave McCracken
2007-07-25 23:30 ` Dave McCracken
2007-07-26 0:18 ` Benjamin Herrenschmidt [this message]
2007-07-26 0:18 ` Benjamin Herrenschmidt
2007-07-26 0:18 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1185409094.5495.0.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=dave.mccracken@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.