aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLiao Chang <[email protected]>2022-09-27 10:24:35 +0800
committerCatalin Marinas <[email protected]>2022-09-30 09:17:15 +0100
commita0caebbd04602cb7d28f6f316213a915ffab92a2 (patch)
treea830eb7fcba98264df2b0315495eca5c88fc0a02 /scripts/gdb/linux/utils.py
parent8c6e3657be6b39cd5943041d0a4ab6bd5d0c2258 (diff)
arm64/kprobe: Optimize the performance of patching single-step slot
Single-step slot would not be used until kprobe is enabled, that means no race condition occurs on it under SMP, hence it is safe to pacth ss slot without stopping machine. Since I and D caches are coherent within single-step slot from aarch64_insn_patch_text_nosync(), hence no need to do it again via flush_icache_range(). Acked-by: Will Deacon <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Liao Chang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions