path: root/Kbuild
diff options
authorChristoph Lameter <>2008-04-28 02:12:43 -0700
committerLinus Torvalds <>2008-04-28 08:58:21 -0700
commit308c05e35e3517d19bb67a7e97772235c9e15cd7 (patch)
tree75d0eae800ef1fc7297f97262b42ddbd1347cad0 /Kbuild
parent2301696932b55e2ea2085cefc84f7b94fa2dd54b (diff)
sparsemem: vmemmap does not need section bits
A set of patches that attempts to improve page flag handling. First of all a method is introduced to generate the page flag functions using macros. Then the number of page flags used by sparsemem is reduced. All page flag operations will no longer be macros. All flags will use inline function. Then we add a way to export enum constants to the preprocessor which allows us to get rid of __ZONE_COUNT and use the NR_PAGEFLAGS for the dynamic calculation of actually available page flags for fields. This patch: Sparsemem vmemmap does not need any section bits. This patch has the effect of reducing the number of bits used in page->flags by at least 6. Signed-off-by: Christoph Lameter <> Cc: Andy Whitcroft <> Cc: KAMEZAWA Hiroyuki <> Cc: KOSAKI Motohiro <> Cc: Rik van Riel <> Cc: Mel Gorman <> Cc: Jeremy Fitzhardinge <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud