Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:36:01
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled.

Proto:void scheduler_tick(void)

Type:void

Parameter:Nothing

3593  cpu = smp_processor_id()
3594  rq = cpu_rq(cpu)
3595  curr = curr
3598  sched_clock_tick()
3600  rq_lock(rq, & rf)
3602  update_rq_clock(rq)
3603  task_tick(rq, curr, 0)
3604  calc_global_load_tick(rq)
3605  psi_task_tick(rq)
3607  rq_unlock(rq, & rf)
3609  perf_event_task_tick()
Caller
NameDescribe
update_process_timesCalled from the timer interrupt handler to charge one tick to the current* process. user_tick is 1 if the tick is user time, 0 for system.