diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2004-03-18 16:03:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-18 16:03:54 -0800 |
| commit | 6bcaa29dc02edc04b6f2baa4c85ace1c2c69871a (patch) | |
| tree | 0e2fecc2c867f889537449f73129b6615b9a5e27 /include | |
| parent | 010b27dc120ac4f57e22998854ef4373c174b171 (diff) | |
[PATCH] Hotplug CPUs: Workqueue Changes
Workqueues need to bring up/destroy the per-cpu thread on cpu up/down.
1) Add a global list of workqueues, and keep the name in the structure
(to name the newly created thread).
2) Remove BUG_ON in run_workqueue, since thread is dragged off CPU when
it goes down.
3) Lock out cpu up/down in flush_workqueue, create_workqueue and
destroy_workqueue.
4) Add notifier to add/destroy workqueue threads, and take over work.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
