diff options
author | 2010-06-29 10:07:13 +0200 | |
---|---|---|
committer | 2010-06-29 10:07:13 +0200 | |
commit | 18aa9effad4adb2c1efe123af4eb24fec9f59b30 (patch) | |
tree | 76975b37ae0ef1ebf460aaab68359ed7a12fe37a /kernel/sysctl.c | |
parent | workqueue: carry cpu number in work data once execution starts (diff) | |
download | linux-dev-18aa9effad4adb2c1efe123af4eb24fec9f59b30.tar.xz linux-dev-18aa9effad4adb2c1efe123af4eb24fec9f59b30.zip |
workqueue: implement WQ_NON_REENTRANT
With gcwq managing all the workers and work->data pointing to the last
gcwq it was on, non-reentrance can be easily implemented by checking
whether the work is still running on the previous gcwq on queueing.
Implement it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions