diff options
| author | Zhang Rui <[email protected]> | 2008-07-23 21:28:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-24 10:47:23 -0700 |
| commit | c1a220e7acf8ad2c03504891f4a70cd9c32c904b (patch) | |
| tree | 902104a5a5debb5b881d7af4110ad1258ea5b0bd /include/linux/debugobjects.h | |
| parent | 0d83304c7e7bd3b05be90281b3a47841bc8f057a (diff) | |
pm: introduce new interfaces schedule_work_on() and queue_work_on()
This interface allows adding a job on a specific cpu.
Although a work struct on a cpu will be scheduled to other cpu if the cpu
dies, there is a recursion if a work task tries to offline the cpu it's
running on. we need to schedule the task to a specific cpu in this case.
http://bugzilla.kernel.org/show_bug.cgi?id=10897
[[email protected]: cleanups]
Signed-off-by: Zhang Rui <[email protected]>
Tested-by: Rus <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions