From 8d91c1e411f55d7ea91b1183a2e9f8088fb4d5be Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 15 Dec 2015 14:52:16 -0300 Subject: Linux-libre 4.3.2-gnu --- include/linux/page-flags.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/linux/page-flags.h') diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index bf858b220..df5a154ee 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -114,6 +114,10 @@ enum pageflags { PG_toi_ro, /* Page was made RO by TOI */ PG_toi_cbw, /* Copy the page before it is written to */ PG_toi_dirty, /* Page has been modified */ +#endif +#if defined(CONFIG_IDLE_PAGE_TRACKING) && defined(CONFIG_64BIT) + PG_young, + PG_idle, #endif __NR_PAGEFLAGS, @@ -306,6 +310,13 @@ PAGEFLAG_FALSE(TOI_Untracked) PAGEFLAG_FALSE(TOI_CBW) #endif +#if defined(CONFIG_IDLE_PAGE_TRACKING) && defined(CONFIG_64BIT) +TESTPAGEFLAG(Young, young) +SETPAGEFLAG(Young, young) +TESTCLEARFLAG(Young, young) +PAGEFLAG(Idle, idle) +#endif + /* * On an anonymous page mapped into a user virtual memory area, * page->mapping points to its anon_vma, not to a struct address_space; -- cgit v1.2.3-54-g00ecf