diff options
| author | Dave Jones <davej@codemonkey.org.uk> | 2003-05-14 06:45:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-14 06:45:28 -0700 |
| commit | dd4a39287ab6a7529e694fedd358201040e3ef27 (patch) | |
| tree | c306179ec430ee14f41a8f900ab7bd033fbc4446 /include/linux/kernel_stat.h | |
| parent | fb697abe9dabdef5166a55147ff797f72a312e25 (diff) | |
[PATCH] shrink zonelists.
Originally from Matt Dobson. I've been running with this for a while
in -dj, with no noticable side-effects.
Matt:
node_zonelists looks like it should really be declared of size
MAX_NR_ZONES, not GFP_ZONEMASK. GFP_ZONEMASK is currently 15, making
node_zonelists an array of 16 elements. The extra zonelists are all
just duplicates of the *real* zonelists, namely the first 3 entries.
Again, if anyone can explain to me why I'm wrong in my thinking, I'd
love to know. There's certainly no way you could bitwise-and something
with any combination of the GFP_DMA and GFP_HIGHMEM flags to refer to
the 12th zonelist or some such! Or am I crazy?
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions
