Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | wq_worker_waking_up (struct task_struct *task, unsigned int cpu) |
struct task_struct * | wq_worker_sleeping (struct task_struct *task, unsigned int cpu) |
|
read |
wq_worker_sleeping - a worker is going to sleep : task going to sleep : CPU in question, must be the current CPU number
This function is called during schedule() when a busy worker is going to sleep. Worker on the same cpu can be woken up by returning pointer to its task.
CONTEXT: spin_lock_irq(rq->lock)
RETURNS: Worker task on to wake up, NULL if none.
Definition at line 761 of file workqueue.c.
void wq_worker_waking_up | ( | struct task_struct * | task, |
unsigned int | cpu | ||
) |
wq_worker_waking_up - a worker is waking up : task waking up : CPU is waking up to
This function is called during try_to_wake_up() when a worker is being awoken.
CONTEXT: spin_lock_irq(rq->lock)
Definition at line 738 of file workqueue.c.