diff options
author | Christoph Lameter <christoph@graphe.net> | 2005-06-21 17:15:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 18:46:18 -0700 |
commit | 2caaad41e4aa8f5dd999695b4ddeaa0e7f3912a4 (patch) | |
tree | 4ce8426bf3a85d92efc5a0f6c981f54963d472e8 /net | |
parent | 4ae7c03943fca73f23bc0cdb938070f41b98101f (diff) | |
download | op-kernel-dev-2caaad41e4aa8f5dd999695b4ddeaa0e7f3912a4.zip op-kernel-dev-2caaad41e4aa8f5dd999695b4ddeaa0e7f3912a4.tar.gz |
[PATCH] Reduce size of huge boot per_cpu_pageset
Reduce size of the huge per_cpu_pageset structure in __initdata introduced
into mm1 with the pageset localization patchset. Use one specially
configured pageset per cpu for all zones and nodes during bootup.
- Avoid duplication of pageset initialization code.
- do the adding to the pageset list before potential free_pages_bulk
in free_hot_cold_page (otherwise we would have to hold a page
in a pageset during the period that the boot pagesets are in use).
- remove mistaken __cpuinitdata attribute and revert back to __initdata
for the boot pageset. A boot pageset is not necessary for cpu hotplug.
Tested for UP SMP NUMA on x86_64 (2.6.12-rc6-mm1): UP SMP NUMA Tested on
IA64 (2.6.12-rc5-mm2): NUMA (2.6.12-rc6-mm1 broken for IA64 because of
sparsemem patches)
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions