diff options
| author | Petr Mladek <pmladek@suse.com> | 2026-03-25 13:34:18 +0100 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-25 05:51:02 -1000 |
| commit | e398978ddf18fe5a2fc8299c77e6fe50e6c306c4 (patch) | |
| tree | 17a507284a400d63f19fa33d11890980e3ea2942 /drivers/android/binder/node | |
| parent | c7f27a8ab9f2f43570f0725256597a0d7abe2c5b (diff) | |
workqueue: Better describe stall check
Try to be more explicit why the workqueue watchdog does not take
pool->lock by default. Spin locks are full memory barriers which
delay anything. Obviously, they would primary delay operations
on the related worker pools.
Explain why it is enough to prevent the false positive by re-checking
the timestamp under the pool->lock.
Finally, make it clear what would be the alternative solution in
__queue_work() which is a hotter path.
Signed-off-by: Petr Mladek <pmladek@suse.com>
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/android/binder/node')
0 files changed, 0 insertions, 0 deletions
