Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\stop_machine.h Create Date:2022-07-28 05:56:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:stop_machine

Proto:static inline int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)

Type:int

Parameter:

TypeParameterName
cpu_stop_fn_tfn
void *data
const struct cpumask *cpus
156  Return stop_machine "Bogolock": stop the entire machine, disable* interrupts. This is a very heavy lock, which is equivalent to* grabbing every spinlock (and more). So the "read" side to such a* lock is anything which disables preemption.
Caller
NameDescribe
set_mtrr
timekeeping_notifymekeeping_notify - Install a new clock source*@clock: pointer to the clock source* This function is called from clocksource.c after a new, better clock* source has been registered. The caller holds the clocksource_mutex.