aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorGowans, James <[email protected]>2022-06-23 05:24:03 +0000
committerakpm <[email protected]>2022-07-03 15:42:33 -0700
commit14c99d65941538aa33edd8dc7b1bbbb593c324a2 (patch)
tree9251d9e8da5ff525970c6eed6fb036ad28644fa9 /tools/perf/scripts/python/compaction-times.py
parent5924e6ec1585445f251ea92713eb15beb732622a (diff)
mm: split huge PUD on wp_huge_pud fallback
Currently the implementation will split the PUD when a fallback is taken inside the create_huge_pud function. This isn't where it should be done: the splitting should be done in wp_huge_pud, just like it's done for PMDs. Reason being that if a callback is taken during create, there is no PUD yet so nothing to split, whereas if a fallback is taken when encountering a write protection fault there is something to split. It looks like this was the original intention with the commit where the splitting was introduced, but somehow it got moved to the wrong place between v1 and v2 of the patch series. Rebase mistake perhaps. Link: https://lkml.kernel.org/r/[email protected] Fixes: 327e9fd48972 ("mm: Split huge pages on write-notify or COW") Signed-off-by: James Gowans <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Cc: Christian König <[email protected]> Cc: Jan H. Schönherr <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions