diff options
author | Peter Zijlstra <[email protected]> | 2019-12-11 01:25:57 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-12-25 10:43:29 +0100 |
commit | 1f676247f36a4bdea134de5e8bc5041db9678c4e (patch) | |
tree | d55b096ca95d131199abbaf6501510daedac653f /scripts/gdb/linux/timerlist.py | |
parent | 46f5cfc13d54962097cb0cc5f97593e2a98a6aed (diff) |
x86/alternatives: Implement a better poke_int3_handler() completion scheme
Commit:
285a54efe386 ("x86/alternatives: Sync bp_patching update for avoiding NULL pointer exception")
added an additional text_poke_sync() IPI to text_poke_bp_batch() to
handle the rare case where another CPU is still inside an INT3 handler
while we clear the global state.
Instead of spraying IPIs around, count the active INT3 handlers and
wait for them to go away before proceeding to clear/reuse the data.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Reviewed-by: Daniel Bristot de Oliveira <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions