diff options
| author | Russell Currey <[email protected]> | 2021-06-09 11:34:26 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-06-21 21:13:20 +1000 |
| commit | 6a3a58e6230dc5b646ce3511436d7e74fc7f764b (patch) | |
| tree | 13c234330f10fb9df2378f74c2f3ff36cb276cca /tools/perf/scripts/python | |
| parent | 4fcc636615b1a309b39cab101a2b433cbf1f63f1 (diff) | |
powerpc/kprobes: Mark newly allocated probes as ROX
Add the arch specific insn page allocator for powerpc. This allocates
ROX pages if STRICT_KERNEL_RWX is enabled. These pages are only written
to with patch_instruction() which is able to write RO pages.
Signed-off-by: Russell Currey <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
[jpn: Reword commit message, switch to __vmalloc_node_range()]
Signed-off-by: Jordan Niethe <[email protected]>
Reviewed-by: Daniel Axtens <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions