slub: record page flag overlays explicitly
authorAndy Whitcroft <[email protected]>
Thu, 24 Jul 2008 04:27:18 +0000 (21:27 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Jul 2008 17:47:15 +0000 (10:47 -0700)
commit8a38082d21cbc5ec961da7dda195e98a9a064dcf
treee68f8c612c9f4be60d9e8b11a654e10416470155
parent0cad47cf13bc2e9142d3a11d9f50523797d0d4ea
slub: record page flag overlays explicitly

SLUB reuses two page bits for internal purposes, it overlays PG_active and
PG_error.  This is hidden away in slub.c.  Document these overlays
explicitly in the main page-flags enum along with all the others.

Signed-off-by: Andy Whitcroft <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Matt Mackall <[email protected]>
Cc: Nick Piggin <[email protected]>
Tested-by: KOSAKI Motohiro <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/page-flags.h
mm/slub.c