aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRalph Campbell <[email protected]>2019-10-23 12:55:14 -0700
committerJason Gunthorpe <[email protected]>2019-10-29 14:26:28 -0300
commitac541f2503722943a9f13e0c92ed07632ba7fd38 (patch)
tree66c9f31f41501650ebfc34378d0bed0addb111cd /tools/perf/scripts/python/bin/export-to-postgresql-report
parentd6d5df1db6e9d7f8f76d2911707f7d5877251b02 (diff)
mm/hmm: allow snapshot of the special zero page
If a device driver like nouveau tries to use hmm_range_fault() to access the special shared zero page in system memory, hmm_range_fault() will return -EFAULT and kill the process. Allow hmm_range_fault() to return success (0) when the CPU pagetable entry points to the special shared zero page. page_to_pfn() and pfn_to_page() are defined on the zero page so just handle it like any other page. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ralph Campbell <[email protected]> Reviewed-by: "Jérôme Glisse" <[email protected]> Acked-by: David Hildenbrand <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions