diff options
author | Thomas Gleixner <[email protected]> | 2021-09-28 14:24:28 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-05 15:52:14 +0200 |
commit | 670721c7bd2a6e16e40db29b2707a27bdecd6928 (patch) | |
tree | 27ead0ffba4532ed1e500925b7d9b1783bd6687f /scripts/gdb/linux/proc.py | |
parent | 539fbb5be0da56ffa1434b4f56521a0522bd1d61 (diff) |
sched: Move kprobes cleanup out of finish_task_switch()
Doing cleanups in the tail of schedule() is a latency punishment for the
incoming task. The point of invoking kprobes_task_flush() for a dead task
is that the instances are returned and cannot leak when __schedule() is
kprobed.
Move it into the delayed cleanup.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions