aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2022-04-23 11:07:50 +0100
committerCatalin Marinas <[email protected]>2022-04-25 10:25:43 +0100
commitf3ba50a7a100e91b0b13ca43190a66c1bfdb9993 (patch)
tree99884d8d9b030537a94d99d2646a8f5ec618864d /tools/perf/scripts/python/bin/export-to-postgresql-report
parentda32b5817253697671af961715517bfbb308a592 (diff)
arm64: Add support for user sub-page fault probing
With MTE, even if the pte allows an access, a mismatched tag somewhere within a page can still cause a fault. Select ARCH_HAS_SUBPAGE_FAULTS if MTE is enabled and implement the probe_subpage_writeable() function. Note that get_user() is sufficient for the writeable MTE check since the same tag mismatch fault would be triggered by a read. The caller of probe_subpage_writeable() will need to check the pte permissions (put_user, GUP). Signed-off-by: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions