__wake_up - wake up threads blocked on a waitqueue.
2. SYNOPSIS ▲
void __wake_up(wait_queue_head_t * q , unsigned int mode , int nr_exclusive , void * key );
3. ARGUMENTS ▲
how many wake-one or wake-many threads to wake up
is directly passed to the wakeup function
4. DESCRIPTION ▲
It may be assumed that this function implies a write memory barrier before changing the task state if and only if any tasks are woken up.
5. COPYRIGHT ▲