diff options
author | 2023-05-17 17:02:08 -1000 | |
---|---|---|
committer | 2023-05-17 17:02:08 -1000 | |
commit | bdf8b9bfc131864f0fcef268b34123acfb6a1b59 (patch) | |
tree | 922fb9b2fb1234c3a4079b6be0ce75a2ecc5b6a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | workqueue: Move worker_set/clr_flags() upwards (diff) | |
download | wireguard-linux-bdf8b9bfc131864f0fcef268b34123acfb6a1b59.tar.xz wireguard-linux-bdf8b9bfc131864f0fcef268b34123acfb6a1b59.zip |
workqueue: Improve locking rule description for worker fields
* Some worker fields are modified only by the worker itself while holding
pool->lock thus making them safe to read from self, IRQ context if the CPU
is running the worker or while holding pool->lock. Add 'K' locking rule
for them.
* worker->sleeping is currently marked "None" which isn't very descriptive.
It's used only by the worker itself. Add 'S' locking rule for it.
A future patch will depend on the 'K' rule to access worker->current_* from
the scheduler ticks.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions