diff options
author | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-10-12 17:10:34 -0400 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-10-12 17:10:34 -0400 |
commit | 2bed3116318647479e14aa22ff762bed16c066b4 (patch) | |
tree | a411ed894da2447c08d1134950049911a9edcaf9 /include/linux/page-flags.h | |
parent | 4172fff1a3870af7d65675e05eb0b7aba3804ea8 (diff) |
RTAS 2017 with debug infomation.
Diffstat (limited to 'include/linux/page-flags.h')
-rw-r--r-- | include/linux/page-flags.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 8b0d7723f3c9..f34e040b34e9 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
@@ -97,7 +97,6 @@ enum pageflags { | |||
97 | PG_reclaim, /* To be reclaimed asap */ | 97 | PG_reclaim, /* To be reclaimed asap */ |
98 | PG_swapbacked, /* Page is backed by RAM/swap */ | 98 | PG_swapbacked, /* Page is backed by RAM/swap */ |
99 | PG_unevictable, /* Page is "unevictable" */ | 99 | PG_unevictable, /* Page is "unevictable" */ |
100 | PG_replicated, /* Page is replicated pagecache */ | ||
101 | #ifdef CONFIG_MMU | 100 | #ifdef CONFIG_MMU |
102 | PG_mlocked, /* Page is vma mlocked */ | 101 | PG_mlocked, /* Page is vma mlocked */ |
103 | #endif | 102 | #endif |
@@ -290,11 +289,6 @@ PAGEFLAG_FALSE(HWPoison) | |||
290 | #define __PG_HWPOISON 0 | 289 | #define __PG_HWPOISON 0 |
291 | #endif | 290 | #endif |
292 | 291 | ||
293 | #define PageReplicated(page) test_bit(PG_replicated, &(page)->flags) | ||
294 | #define __SetPageReplicated(page) do { BUG_ON(PageDirty(page) || PageWriteback(page)); __set_bit(PG_replicated, &(page)->flags); } while (0) | ||
295 | #define SetPageReplicated(page) do { BUG_ON(PageDirty(page) || PageWriteback(page)); set_bit(PG_replicated, &(page)->flags); } while (0) | ||
296 | #define ClearPageReplicated(page) clear_bit(PG_replicated, &(page)->flags) | ||
297 | |||
298 | /* | 292 | /* |
299 | * On an anonymous page mapped into a user virtual memory area, | 293 | * On an anonymous page mapped into a user virtual memory area, |
300 | * page->mapping points to its anon_vma, not to a struct address_space; | 294 | * page->mapping points to its anon_vma, not to a struct address_space; |