summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJun Yao <yaojun8558363@gmail.com>2018-09-24 19:15:02 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2018-09-25 17:10:55 +0300
commit2330b7ca78350efcb1a3b919ea4b3e0e4c57d99f (patch)
tree22f8fed6993270edb2b4e2570101a675b703ca3a /tools/perf/scripts/python/export-to-postgresql.py
parent2b5548b68199c17c1466d5798cf2c9cd806bdaa9 (diff)
downloadlinux-2330b7ca78350efcb1a3b919ea4b3e0e4c57d99f.tar.xz
arm64/mm: use fixmap to modify swapper_pg_dir
Once swapper_pg_dir is in the rodata section, it will not be possible to modify it directly, but we will need to modify it in some cases. To enable this, we can use the fixmap when deliberately modifying swapper_pg_dir. As the pgd is only transiently mapped, this provides some resilience against illicit modification of the pgd, e.g. for Kernel Space Mirror Attack (KSMA). Signed-off-by: Jun Yao <yaojun8558363@gmail.com> Reviewed-by: James Morse <james.morse@arm.com> [Mark: simplify ifdeffery, commit message] Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions