summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorNaoya Horiguchi2015-04-16 01:13:17 +0200
committerLinus Torvalds2015-04-16 01:35:17 +0200
commita4bb3ecdc12a78dc4d0e690d40ec10887b640786 (patch)
tree84e0727cc1fec4c28f578d982d8ee511757aadbf /mm/compaction.c
parentmm/migrate: check-before-clear PageSwapCache (diff)
downloadkernel-qcow2-linux-a4bb3ecdc12a78dc4d0e690d40ec10887b640786.tar.gz
kernel-qcow2-linux-a4bb3ecdc12a78dc4d0e690d40ec10887b640786.tar.xz
kernel-qcow2-linux-a4bb3ecdc12a78dc4d0e690d40ec10887b640786.zip
mm/page-writeback: check-before-clear PageReclaim
With the page flag sanitization patchset, an invalid usage of ClearPageReclaim() is detected in set_page_dirty(). This can be called from __unmap_hugepage_range(), so let's check PageReclaim() before trying to clear it to avoid the misuse. 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 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions