diff options
author | Christoph Lameter <cl@linux.com> | 2012-05-09 10:09:56 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-06-01 09:25:41 +0300 |
commit | ec3ab083a7a004282ee374bdaeb0aa603521b8eb (patch) | |
tree | 8c570d6bd284ca8357675a4e7c8409dec691f91c /mm/vmscan.c | |
parent | 188fd063208942a4681d8e8a4484ad0d4ae0fda1 (diff) | |
download | linux-ec3ab083a7a004282ee374bdaeb0aa603521b8eb.tar.bz2 |
slub: Get rid of the node field
The node field is always page_to_nid(c->page). So its rather easy to
replace. Note that there maybe slightly more overhead in various hot paths
due to the need to shift the bits from page->flags. However, that is mostly
compensated for by a smaller footprint of the kmem_cache_cpu structure (this
patch reduces that to 3 words per cache) which allows better caching.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions