Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smp_call_function(): Run a function on all other CPUs.*@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 (atomically) until function has completed* on other CPUs.

Proto:void smp_call_function(smp_call_func_t func, void *info, int wait)

Type:void

Parameter:

TypeParameterName
smp_call_func_tfunc
void *info
intwait
508  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
509  smp_call_function_many(): Run a function on a set of other CPUs
510  preempt_enable()