diff options
author | Petr Mladek <[email protected]> | 2021-06-24 18:39:45 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-24 19:40:54 -0700 |
commit | 34b3d5344719d14fd2185b2d9459b3abcb8cf9d8 (patch) | |
tree | db3a54c835903c8ad922472a6e0a901bf5d3a742 /lib/mpi/mpi-add.c | |
parent | 7ca3027b726be681c8e6292b5a81ebcde7581710 (diff) |
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 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions