diff options
author | Hillf Danton <[email protected]> | 2011-10-31 17:09:38 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-10-31 17:30:50 -0700 |
commit | 0089e4853ae1ac161fae5137170971ccb6f4f152 (patch) | |
tree | 6e23993f320cd6b0d45a5fb4832188cd2092efe2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | df9d6985be2a7e7683c46e4c6ea608fc69f02b45 (diff) |
mm/huge_memory: fix copying user highpage
The THP copy-on-write handler falls back to regular-sized pages for a huge
page replacement upon allocation failure or if THP has been individually
disabled in the target VMA. The loop responsible for copying page-sized
chunks accidentally uses multiples of PAGE_SHIFT instead of PAGE_SIZE as
the virtual address arg for copy_user_highpage().
Signed-off-by: Hillf Danton <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions