From: Andrew Morton <akpm@linux-foundation.org>
To: Christoph Lameter <clameter@sgi.com>
Cc: linux-mm@kvack.org, Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: Slab: reduce size of alien cache to cover only possible nodes
Date: Thu, 1 Feb 2007 23:55:18 -0800 [thread overview]
Message-ID: <20070201235518.6c901bbf.akpm@linux-foundation.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0702012343020.17885@schroedinger.engr.sgi.com>
On Thu, 1 Feb 2007 23:45:44 -0800 (PST) Christoph Lameter <clameter@sgi.com> wrote:
> The alien cache is a per cpu per node array allocated for every slab
> on the system. Currently we size this array for all nodes
> that the kernel does support. For IA64 this is 1024 nodes. So we allocate
> an array with 1024 objects even if we only boot a system with 4 nodes.
>
> This patch uses "nr_node_ids" to determine the number of possible nodes
> supported by a hardware configuration and only allocates an alien cache
> sized for possible nodes.
>
> The initialization of nr_node_ids occurred too late relative to the bootstrap
> of the slab allocator and so I moved the setup_nr_node_ids() into
> free_area_init_nodes().
How does/will this play with node hotplug? Not at all, afaict.
--
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-02-02 7:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-02 7:45 Slab: reduce size of alien cache to cover only possible nodes Christoph Lameter
2007-02-02 7:55 ` Andrew Morton [this message]
2007-02-02 19:13 ` Christoph Lameter
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=20070201235518.6c901bbf.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=penberg@cs.helsinki.fi \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).