diff options
| author | Petr Mladek <[email protected]> | 2021-06-25 01:39:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-25 02:40:54 +0000 |
| commit | 34b3d5344719d14fd2185b2d9459b3abcb8cf9d8 (patch) | |
| tree | db3a54c835903c8ad922472a6e0a901bf5d3a742 /tools/perf/scripts/python/netdev-times.py | |
| parent | mm/vmalloc: unbreak kasan vmalloc support (diff) | |
| download | kernel-34b3d5344719d14fd2185b2d9459b3abcb8cf9d8.tar.gz kernel-34b3d5344719d14fd2185b2d9459b3abcb8cf9d8.zip | |
kthread_worker: split code for canceling the delayed work timer
Patch series "kthread_worker: Fix race between kthread_mod_delayed_work()
and kthread_cancel_delayed_work_sync()".
This patchset fixes the race between kthread_mod_delayed_work() and
kthread_cancel_delayed_work_sync() including proper return value
handling.
This patch (of 2):
Simple code refactoring as a preparation step for fixing a race between
kthread_mod_delayed_work() and kthread_cancel_delayed_work_sync().
It does not modify the existing behavior.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Cc: <[email protected]>
Cc: Martin Liu <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
