diff options
author | Kirill A. Shutemov <[email protected]> | 2015-02-11 15:28:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-11 17:06:06 -0800 |
commit | 7d5b3bfaa2da150ce2dc45546f2125b854f962ef (patch) | |
tree | 71f1b4079d82bbac9af54c6f625afa0ecdf45215 /net/lapb/lapb_subr.c | |
parent | 48684a65b4e3ff544d62532c1b78962c9677b632 (diff) |
mm: /proc/pid/clear_refs: avoid split_huge_page()
Currently pagewalker splits all THP pages on any clear_refs request. It's
not necessary. We can handle this on PMD level.
One side effect is that soft dirty will potentially see more dirty memory,
since we will mark whole THP page dirty at once.
Sanity checked with CRIU test suite. More testing is required.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Cyrill Gorcunov <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions