Naoya Horiguchi a4bb3ecdc1 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>
2015-04-15 16:35:17 -07:00
..
2015-04-14 16:49:00 -07:00
2015-04-14 16:49:00 -07:00
2015-02-16 17:56:03 -08:00
2015-04-14 16:49:00 -07:00
2015-02-16 17:56:03 -08:00
2015-04-14 16:49:06 -07:00
2015-04-15 16:35:16 -07:00
2015-02-11 17:06:02 -08:00
2015-04-06 17:50:59 -04:00
2015-03-12 18:46:08 -07:00
2015-04-15 16:35:16 -07:00
2015-04-14 16:49:04 -07:00
2015-03-25 20:28:11 -04:00
2015-03-24 13:41:54 -04:00
2015-04-11 22:24:41 -04:00
2015-04-14 16:49:03 -07:00
2015-02-13 21:21:35 -08:00
2015-02-12 18:54:12 -08:00