aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJacob Pan <[email protected]>2021-03-02 02:14:00 -0800
committerJoerg Roedel <[email protected]>2021-03-18 11:42:46 +0100
commit396bd6f3d9f659d7ce324806bf3cd6677385f8fd (patch)
treebd780180080d07da2a72fe0759663c3fbecf4490 /tools/perf/scripts/python/export-to-postgresql.py
parent78a523fe73b81b4447beb2d6c78c9fafae24eebb (diff)
iommu/vt-d: Calculate and set flags for handle_mm_fault
Page requests are originated from the user page fault. Therefore, we shall set FAULT_FLAG_USER.  FAULT_FLAG_REMOTE indicates that we are walking an mm which is not guaranteed to be the same as the current->mm and should not be subject to protection key enforcement. Therefore, we should set FAULT_FLAG_REMOTE to avoid faults when both SVM and PKEY are used. References: commit 1b2ee1266ea6 ("mm/core: Do not enforce PKEY permissions on remote mm access") Reviewed-by: Raj Ashok <[email protected]> Acked-by: Lu Baolu <[email protected]> Signed-off-by: Jacob Pan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions