All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Paul Mackerras <paulus@samba.org>
Cc: Christoph Lameter <clameter@sgi.com>,
	akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, ak@suse.de
Subject: Re: [QUICKLIST 1/4] Quicklists for page table pages V5
Date: Wed, 11 Apr 2007 16:15:24 +1000	[thread overview]
Message-ID: <1176272125.8061.93.camel@localhost.localdomain> (raw)
In-Reply-To: <17948.29982.857777.776522@cargo.ozlabs.ibm.com>

On Wed, 2007-04-11 at 15:41 +1000, Paul Mackerras wrote:
> Benjamin Herrenschmidt writes:
> 
> > > > For a 64K page size kernel, we have 3 level page tables and we use 3
> > > > caches: a PGD pages are 128 bytes (yeah, not big heh...), our pmd
> > > > pages are 32K (half a page) and PTE pages are PAGE_SIZE (64K).
> > > 
> > > Ok so use quicklists for the PTEs and slab for the rest? A PGD of only 128 
> > > bytes? Stuff one at the end of the mm_struct or the task struct? That way 
> > > you can avoid allocation overhead.
> > 
> > Yeah, maybe... I need to think about it a bit more. I might be able to
> > make the PMD a full page too.
> 
> There was a reason for making the PMD level map 256MB.  I'd have to
> remember what that was and make sure it didn't apply any more first...

For dynamic VSIDs....

Ben.



WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Paul Mackerras <paulus@samba.org>
Cc: Christoph Lameter <clameter@sgi.com>,
	akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, ak@suse.de
Subject: Re: [QUICKLIST 1/4] Quicklists for page table pages V5
Date: Wed, 11 Apr 2007 16:15:24 +1000	[thread overview]
Message-ID: <1176272125.8061.93.camel@localhost.localdomain> (raw)
In-Reply-To: <17948.29982.857777.776522@cargo.ozlabs.ibm.com>

On Wed, 2007-04-11 at 15:41 +1000, Paul Mackerras wrote:
> Benjamin Herrenschmidt writes:
> 
> > > > For a 64K page size kernel, we have 3 level page tables and we use 3
> > > > caches: a PGD pages are 128 bytes (yeah, not big heh...), our pmd
> > > > pages are 32K (half a page) and PTE pages are PAGE_SIZE (64K).
> > > 
> > > Ok so use quicklists for the PTEs and slab for the rest? A PGD of only 128 
> > > bytes? Stuff one at the end of the mm_struct or the task struct? That way 
> > > you can avoid allocation overhead.
> > 
> > Yeah, maybe... I need to think about it a bit more. I might be able to
> > make the PMD a full page too.
> 
> There was a reason for making the PMD level map 256MB.  I'd have to
> remember what that was and make sure it didn't apply any more first...

For dynamic VSIDs....

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>

  reply	other threads:[~2007-04-11  6:15 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-09 18:25 [QUICKLIST 1/4] Quicklists for page table pages V5 Christoph Lameter
2007-04-09 18:25 ` Christoph Lameter
2007-04-09 18:25 ` [QUICKLIST 2/4] Quicklist support for IA64 Christoph Lameter
2007-04-09 18:25   ` Christoph Lameter
2007-04-09 18:25 ` [QUICKLIST 3/4] Quicklist support for x86_64 Christoph Lameter
2007-04-09 18:25   ` Christoph Lameter
2007-04-09 18:43   ` Andi Kleen
2007-04-09 18:43     ` Andi Kleen
2007-04-09 18:46     ` Christoph Lameter
2007-04-09 18:46       ` Christoph Lameter
2007-04-09 18:49       ` Andi Kleen
2007-04-09 18:49         ` Andi Kleen
2007-04-09 18:51         ` Christoph Lameter
2007-04-09 18:51           ` Christoph Lameter
2007-04-09 18:53           ` Andi Kleen
2007-04-09 18:53             ` Andi Kleen
2007-04-09 18:56             ` Christoph Lameter
2007-04-09 18:56               ` Christoph Lameter
2007-04-09 21:28   ` Andrew Morton
2007-04-09 21:28     ` Andrew Morton
2007-04-09 22:01     ` Christoph Lameter
2007-04-09 22:01       ` Christoph Lameter
2007-04-09 18:25 ` [QUICKLIST 4/4] Quicklist support for sparc64 Christoph Lameter
2007-04-09 18:25   ` Christoph Lameter, David Miller
2007-04-09 18:48 ` [QUICKLIST 1/4] Quicklists for page table pages V5 Andrew Morton
2007-04-09 18:48   ` Andrew Morton
2007-04-09 18:50   ` Christoph Lameter
2007-04-09 18:50     ` Christoph Lameter
2007-04-09 21:27 ` Andrew Morton
2007-04-09 21:27   ` Andrew Morton
2007-04-09 21:41 ` Andrew Morton
2007-04-09 21:41   ` Andrew Morton
2007-04-09 22:03   ` Christoph Lameter
2007-04-09 22:03     ` Christoph Lameter
2007-04-10  0:26     ` William Lee Irwin III
2007-04-10  0:26       ` William Lee Irwin III
2007-04-10  0:53       ` Christoph Lameter
2007-04-10  0:53         ` Christoph Lameter
2007-04-10  4:45 ` Benjamin Herrenschmidt
2007-04-10  4:45   ` Benjamin Herrenschmidt
2007-04-11  4:04   ` Christoph Lameter
2007-04-11  4:04     ` Christoph Lameter
2007-04-11  4:18     ` Benjamin Herrenschmidt
2007-04-11  4:18       ` Benjamin Herrenschmidt
2007-04-11  5:41       ` Paul Mackerras
2007-04-11  5:41         ` Paul Mackerras
2007-04-11  6:15         ` Benjamin Herrenschmidt [this message]
2007-04-11  6:15           ` 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=1176272125.8061.93.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=paulus@samba.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.