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: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

Proto:static __always_inline void csd_lock_wait(call_single_data_t *csd)

Type:void

Parameter:

TypeParameterName
call_single_data_t *csd
109  smp_cond_load_acquire() - (Spin) wait for cond with ACQUIRE ordering*@ptr: pointer to the variable to wait on*@cond: boolean expression to wait for* Equivalent to using smp_load_acquire() on the condition variable but employs( & flags, !(VAL & CSD_FLAG_LOCK))
Caller
NameDescribe
csd_lock
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_single_asyncsmp_call_function_single_async(): Run an asynchronous function on a* specific CPU.*@cpu: The CPU to run on.*@csd: Pre-allocated and setup data structure* Like smp_call_function_single(), but the call is asynchonous and
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs