From 4b32c0330382334f265ef48268c04e55ea6f5aa5 Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov" Date: Wed, 8 Apr 2015 09:44:24 +1000 Subject: [PATCH] page-flags: define PG_reserved behavior on compound pages 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 Cc: Andrea Arcangeli Cc: Hugh Dickins Cc: Dave Hansen Cc: Mel Gorman Cc: Rik van Riel Cc: Vlastimil Babka Cc: Christoph Lameter Cc: Naoya Horiguchi Cc: Steve Capper Cc: "Aneesh Kumar K.V" Cc: Johannes Weiner Cc: Michal Hocko Cc: Jerome Marchand Signed-off-by: Andrew Morton --- 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.39.5