aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSuresh Siddha <[email protected]>2009-10-28 18:46:58 -0800
committerIngo Molnar <[email protected]>2009-11-02 17:17:24 +0100
commite7d23dde9b7ebb575e2bcee2abefc9ec1e4adde9 (patch)
treee3c8683d149e29a2d3a6099ddcae4732d17d6b31 /tools/perf/scripts/python/check-perf-trace.py
parent55ca3cc1746335bb6ef1d3894ddb6d0c729b3518 (diff)
x86_64, cpa: Use only text section in set_kernel_text_rw/ro
set_kernel_text_rw()/set_kernel_text_ro() are marking pages starting from _text to __start_rodata as RW or RO. With CONFIG_DEBUG_RODATA, there might be free pages (associated with padding the sections to 2MB large page boundary) between text and rodata sections that are given back to page allocator. So we should use only use the start (__text) and end (__stop___ex_table) of the text section in set_kernel_text_rw()/set_kernel_text_ro(). Signed-off-by: Suresh Siddha <[email protected]> Acked-by: Steven Rostedt <[email protected]> Tested-by: Steven Rostedt <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions