diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-10-15 20:05:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-16 11:11:15 -0700 |
commit | fc3a5ac52827960ca1e17ba243ff4ba29fcc057a (patch) | |
tree | d0526db86c2e7d611d1695f2b8bbf3da5225c92c /tools/perf/scripts/python/stackcollapse.py | |
parent | 5eaf35ab1275c4048d5c64b7bd9e982af9ea6b9f (diff) |
mm/truncate: fix truncation for pages of arbitrary size
Remove the assumption that a compound page is HPAGE_PMD_SIZE, and the
assumption that any page is PAGE_SIZE.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions