diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-10-15 20:05:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-16 11:11:15 -0700 |
commit | 5eaf35ab1275c4048d5c64b7bd9e982af9ea6b9f (patch) | |
tree | d4daef3ac388626801adb0ac9a6bbe207e0841a4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e2333dad2d4a3543f07beb5da61401046e54f2ff (diff) |
mm/rmap: fix assumptions of THP size
Ask the page what size it is instead of assuming it's PMD size. Do this
for anon pages as well as file pages for when someone decides to support
that. Leave the assumption alone for pages which are PMD mapped; we don't
currently grow THPs beyond PMD size, so we don't need to change this code
yet.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Huang Ying <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions