diff options
author | Naoya Horiguchi <[email protected]> | 2015-04-15 16:13:15 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-15 16:35:17 -0700 |
commit | b3b3a99c5371e2e96a2c680e6ac20218bddbd422 (patch) | |
tree | 64b7488c4046b15c39b6874380cba7207e91e5a1 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8d63d99a5dfbdb997d12dd3c07b2070ca723db3b (diff) |
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 <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions