[PATCH 09/16] page-flags: define PG_reserved behavior on compound pages

From: Kirill A. Shutemov
Date: Thu Mar 19 2015 - 13:08:46 EST


As far as I can see there's no users of PG_reserved on compound pages.
Let's use NO_COMPOUND here.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
---
include/linux/page-flags.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index 19373c98d08a..be691551896b 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -288,7 +288,8 @@ PAGEFLAG(Pinned, pinned, NO_COMPOUND) TESTSCFLAG(Pinned, pinned, NO_COMPOUND)
PAGEFLAG(SavePinned, savepinned, NO_COMPOUND)
PAGEFLAG(Foreign, foreign, NO_COMPOUND)

-PAGEFLAG(Reserved, reserved, ANY) __CLEARPAGEFLAG(Reserved, reserved, ANY)
+PAGEFLAG(Reserved, reserved, NO_COMPOUND)
+ __CLEARPAGEFLAG(Reserved, reserved, NO_COMPOUND)
PAGEFLAG(SwapBacked, swapbacked, ANY)
__CLEARPAGEFLAG(SwapBacked, swapbacked, ANY)
__SETPAGEFLAG(SwapBacked, swapbacked, ANY)
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/