summaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2015-04-16 01:13:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-16 01:35:17 +0200
commitb3b3a99c5371e2e96a2c680e6ac20218bddbd422 (patch)
tree64b7488c4046b15c39b6874380cba7207e91e5a1 /kernel/futex.c
parentmm: avoid tail page refcounting on non-THP compound pages (diff)
downloadlinux-b3b3a99c5371e2e96a2c680e6ac20218bddbd422.tar.xz
linux-b3b3a99c5371e2e96a2c680e6ac20218bddbd422.zip
mm/migrate: check-before-clear PageSwapCache
With the page flag sanitization patchset, an invalid usage of ClearPageSwapCache() is detected in migration_page_copy(). migrate_page_copy() is shared by both normal and hugepage (both thp and hugetlb) code path, so let's check PageSwapCache() and clear it if it's set to avoid misuse of the invalid clear operation. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions