aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2016-01-15 16:54:43 -0800
committerLinus Torvalds <[email protected]>2016-01-15 17:56:32 -0800
commitd965432234db94ee8e185f8fd8e3181bed7459fd (patch)
treeb24228d9bd6ef31b1b710327933c3ce334b85a63 /include/linux/timerqueue.h
parent49071d436b51b58aeaf7abcd1877f38ca0146e31 (diff)
thp: increase split_huge_page() success rate
During freeze_page(), we remove the page from rmap. It munlocks the page if it was mlocked. clear_page_mlock() uses thelru cache, which temporary pins the page. Let's drain the lru cache before checking page's count vs. mapcount. The change makes mlocked page split on first attempt, if it was not pinned by somebody else. Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Sasha Levin <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions