Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Send IPI for expedited cleanup if needed at end of CPU-hotplug operation.

Proto:static void sync_sched_exp_online_cleanup(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
736  rdp = per_cpu_ptr( & rcu_data, cpu)
737  rnp = This CPU's leaf of hierarchy
738  my_cpu = get_cpu()
740  If Not (READ_ONCE(CPUs or groups that need to check in ) & Mask to apply to leaf qsmask. ) || Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(exp) Then
742  put_cpu()
743  Return
746  If my_cpu == cpu Then
747  local_irq_save(flags)
748  Request an expedited quiescent state.
749  local_irq_restore(flags)
750  put_cpu()
751  Return
754  ret = smp_call_function_single(cpu, SPDX-License-Identifier: GPL-2.0+ , NULL, 0)
755  put_cpu()
756  WARN_ON_ONCE(ret)