diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2023-08-03 12:09:31 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2023-09-19 22:08:29 +0200 |
commit | a20d6f63dbfc176697886d7709312ad0a795648e (patch) | |
tree | 7fefa92d3aa507eb7e9f89cba946e10dbf1b056b /scripts/generate_rust_analyzer.py | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
signal: Add a proper comment about preempt_disable() in ptrace_stop()
Commit 53da1d9456fe7 ("fix ptrace slowness") added a preempt-disable section
between read_unlock() and the following schedule() invocation without
explaining why it is needed.
Replace the existing contentless comment with a proper explanation to
clarify that it is not needed for correctness but for performance reasons.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions