Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smp.c Create Date:2022-07-28 10:55:44
Last Modify:2020-03-17 15:12:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:csd_lock

Proto:static __always_inline void csd_lock(call_single_data_t *csd)

Type:void

Parameter:

TypeParameterName
call_single_data_t *csd
114  sd_lock/csd_unlock used to serialize access to per-cpu csd resources* For non-synchronous ipi calls the csd can still be in use by the* previous function call. For multi-cpu calls its even more interesting
115  flags |= CSD_FLAG_LOCK
122  smp_wmb()
Caller
NameDescribe
smp_call_function_singlesmp_call_function_single - Run a function on a specific CPU*@func: The function to run. This must be fast and non-blocking.*@info: An arbitrary pointer to pass to the function.*@wait: If true, wait until function has completed on other CPUs.
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs