aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmdebug.h
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2014-01-23 15:52:53 -0800
committerLinus Torvalds <[email protected]>2014-01-23 16:36:50 -0800
commite3bba3c3c90cd434c1ccb9e5dc704a96baf9541c (patch)
tree86897834d0ccbe93f8b44249569a2be70486b573 /include/linux/mmdebug.h
parent8ff69e2c85f84b6b371e3c1d01207e73c0500125 (diff)
fs/proc/page.c: add PageAnon check to surely detect thp
stable_page_flags() checks !PageHuge && PageTransCompound && PageLRU to know that a specified page is thp or not. But sometimes it's not enough and we fail to detect thp when the thp is on pagevec. This happens only for a few seconds after LRU list operations, but it makes it difficult to control our applications depending on this flag. So this patch adds another check PageAnon to detect thps on pagevec. It might not give the future extensibility for thp pagecache, but it's OK at least for now. Signed-off-by: Naoya Horiguchi <[email protected]> Cc: David Rientjes <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Wu Fengguang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions