函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-sched.c Create Date:2022-07-27 11:51:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check, if a change happened, which makes oneshot possible.* Called cyclic from the hrtimer softirq (driven by the timer* softirq) allow_nohz signals, that we can switch into low-res nohz* mode, because high resolution timers are disabled (either compile

函数原型:int tick_check_oneshot_change(int allow_nohz)

返回类型:int

参数:

类型参数名称
intallow_nohz
1413  ts等于this_cpu_ptr( & Per-CPU nohz control structure)
1415  如果非st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).则返回:0
1418  如果nohz_mode不等于NOHZ_MODE_INACTIVE则返回:0
1421  如果非mekeeping_valid_for_hres - Check if timekeeping is suitable for hres或非k_is_oneshot_available - check for a oneshot capable event device则返回:0
1424  如果非allow_nohz则返回:1
1427  tick_nohz_switch_to_nohz()
1428  返回:0