Function Report

Linux Kernel (v4.4)

Source File:kernel\sched\core.c Create Date:2016-01-14 10:40:42
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:wake_up_process

Function:int wake_up_process(struct task_struct *p)

Return Type:int

Parameter:

Type Parameter NameRemarks
struct task_struct * p The process to be woken up.

Function description: Wake up a specific process

2067  Returning wake up a thread
Caller
Function NameFunction description
klist_release
apm_initJust start the APM thread. We do NOT want to do APM BIOS
__exit_signalThis function expects the tasklist_lock write-locked.
exit_notifySend signals to all our closest relatives so that they know to properly mourn us..
wakeup_softirqdwe cannot loop indefinitely here to avoid userspace starvation, but we also don't want to introduce a worst case 1/HZ latency to the pending events, so lets the scheduler to balance the softirq load for us.
wake_up_worker wake up an idle worker
create_worker create a new workqueue worker
destroy_worker destroy a workqueue worker
send_mayday
__alloc_workqueue_key
rebind_workers rebind all workers of a pool to the associated CPU
free_pid
kthread_create_on_node create a kthread.
kthread_park park a thread created by kthread_create().
kthread_stopstop a thread
insert_kthread_workinsert@work before@pos in@worker
wake_up_q
ww_mutex_set_context_fastpathAfter acquiring lock with fastpath or when we lost out in contested slowpath, set ctx and wake up any waiters so they can recheck.
ww_mutex_set_context_slowpathAfter acquiring lock in the slowpath set ctx and wake up any waiters so they can recheck.
__mutex_unlock_common_slowpathRelease the lock, slowpath:
__up
rt_mutex_adjust_prio_chainAdjust the priority chain. Also used for deadlock detection. Decreases task's usage by one- may thus free the task.
__rwsem_do_wakehandle the lock release when processes blocked on it that can now run
__rwsem_wake_one_writerwake a single writer
__rwsem_do_wakehandle the lock release when processes blocked on it that can now run
__irq_wake_thread
__setup_irqregister an interrupt
rcutorture_booster_init
rcu_spawn_gp_kthreadSpawn the kthreads that handle each RCU flavor's grace periods.
__thaw_task
process_timeout
hrtimer_wakeupSleep related functions:
cpu_timer_fireThe timer is locked, fire it and arrange for its reload.
alarmtimer_nsleep_wakeup Wakeup function for alarm_timer_nsleep
__cpu_stop_queue_work
audit_launch_prune
audit_schedule_prune
proc_dohung_task_timeout_secsProcess updating of timeout sysctl
watchdog_timer_fnwatchdog kicker functions
ring_buffer_producer
ring_buffer_producer_thread
put_online_mems
ss_wakeup
expunge_all
pipelined_send
wake_up_sem_queue_do do the actual wake-up
dio_bio_end_aioAsynchronous IO callback.
dio_bio_end_ioThe BIO completion handler simply queues the BIO up for the process-context handler.
coredump_finish