Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-28 10:25:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Make sure that we give the grace-period kthread time to detect any* idle CPUs before taking active measures to force quiescent states.* However, don't go below 100 milliseconds, adjusted upwards for really* large systems.

Proto:static void adjust_jiffies_till_sched_qs(void)

Type:void

Parameter:Nothing

448  If How long the grace period must be before we start recruiting* quiescent-state help from rcu_note_context_switch(). != ULONG_MAX Then
449  WRITE_ONCE(See adjust_jiffies_till_sched_qs(). , How long the grace period must be before we start recruiting* quiescent-state help from rcu_note_context_switch().)
450  Return
453  j = READ_ONCE(jiffies_till_first_fqs) + 2 * READ_ONCE(jiffies_till_next_fqs)
455  If j < HZ / 10 + nr_cpu_ids / Very large systems need more Then j = HZ / 10 + nr_cpu_ids / Very large systems need more
457  pr_info("RCU calculated value of scheduler-enlistment delay is %ld jiffies.\n", j)
458  WRITE_ONCE(See adjust_jiffies_till_sched_qs(). , j)
Caller
NameDescribe
param_set_first_fqs_jiffies
param_set_next_fqs_jiffies
rcu_init_geometryCompute the rcu_node tree geometry from kernel parameters. This cannot* replace the definitions in tree.h because those are needed to size* the ->node array in the rcu_state structure.