]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] GFP_ZONETYPES: add commentry on how to calculate
authorAndy Whitcroft <apw@shadowen.org>
Wed, 1 Feb 2006 11:05:26 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:14 +0000 (08:53 -0800)
commit3c681433838ad9371c176b8935995855517182f7
tree8a980747ab9eeaa3407e2aa2366a4c6e95dee9d0
parent9f8a942e646fd846688bba80bff6cf3fe38989c2
[PATCH] GFP_ZONETYPES: add commentry on how to calculate

GFP_ZONETYPES define using GFP_ZONEMASK and add commentry

Add commentry explaining the optimisation that we can apply to GFP_ZONETYPES
when the leftmost bit is a 'loaner', it can only be set in isolation.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h