Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smpboot.c Create Date:2022-07-28 09:33:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smpboot_park_threads

Proto:int smpboot_park_threads(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
259  mutex_lock( & smpboot_threads_lock)
260  list_for_each_entry_reverse - iterate backwards over list of given type.*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(cur, & hotplug_threads, list)
261  smpboot_park_thread(cur, cpu)
262  mutex_unlock( & smpboot_threads_lock)
263  Return 0