lkml.org 
[lkml]   [2015]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 09/16] page-flags: define PG_reserved behavior on compound pages
Date
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@linux.intel.com>
---
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


\
 
 \ /
  Last update: 2015-03-19 18:21    [W:0.513 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site