]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sparsemem base: reorganize page->flags bit operations
authorDave Hansen <haveblue@us.ibm.com>
Thu, 23 Jun 2005 07:07:40 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:01 +0000 (09:45 -0700)
commit4b44a7b249707d5359da209785f638825f56d995
treef4c6c332b2c327630b284598325dff2f44e6c9cf
parent22f2fee3ad54038737241692c0afe3648be330fd
[PATCH] sparsemem base: reorganize page->flags bit operations

Generify the value fields in the page_flags.  The aim is to allow the location
and size of these fields to be varied.  Additionally we want to move away from
fixed allocations per field whilst still enforcing the overall bit utilisation
limits.  We rely on the compiler to spot and optimise the accessor functions.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
include/linux/mmzone.h
mm/page_alloc.c