Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sole_lock_spinning_enable - mark beginning of code where another* thread might safely busy wait* This basically converts console_lock into a spinlock. This marks* the section where the console_lock owner can not sleep, because

Proto:static void console_lock_spinning_enable(void)

Type:void

Parameter:Nothing

1649  raw_spin_lock( & console_owner_lock)
1650  console_owner = current process
1651  raw_spin_unlock( & console_owner_lock)
1654  spin_acquire( & console_owner_dep_map, 0, 0, _THIS_IP_)
Caller
NameDescribe
console_unlocksole_unlock - unlock the console system* Releases the console_lock which the caller holds on the console system* and the console driver list.* While the console_lock was held, console output may have been buffered* by printk()