aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2022-01-07 13:25:55 -0500
committerMatthew Wilcox (Oracle) <[email protected]>2022-03-21 12:56:35 -0400
commitc228afb11ac6938532703ac712992524497aff29 (patch)
tree2bf4703ab380845339879cd50456e62d8964ed6a /tools/perf/scripts/python/event_analyzing_sample.py
parent28297dbcad7ed3d7bac373eef121339cb0cac326 (diff)
mm/gup: Fix some contiguous memmap assumptions
Several functions in gup.c assume that a compound page has virtually contiguous page structs. This isn't true for SPARSEMEM configs unless SPARSEMEM_VMEMMAP is also set. Fix them by using nth_page() instead of plain pointer arithmetic. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: John Hubbard <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: William Kucharski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions