summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorMartin J. Bligh <mbligh@aracnet.com>2004-06-26 20:55:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-26 20:55:07 -0700
commit12d9986b3c8acda935906514c593ea806e1736bd (patch)
treedc5abbfd0e984458e25ca80231cefd5c5dc204c5 /include/linux/kernel.h
parentdd47df980c02eb33833b2690b033c34fba2fa80d (diff)
[PATCH] make __free_pages_bulk more comprehensible
I find __free_pages_bulk very hard to understand ... (I was trying to mod it for the non MAX_ORDER aligned zones, and cleaned it up first). This should make it much more comprehensible to mortal man ... I benchmarked the changes on the big 16x and it's no slower (actually it's about 0.5% faster, but that's within experimental error). I moved the creation of mask into __free_pages_bulk from the caller - it seems to really belong inside there. Then instead of doing wierd limbo dances with mask, I made it use order instead where it's more intuitive. Personally I find this makes the whole thing a damned sight easier to understand. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions