函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-27 11:06:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void console_lock_spinning_enable(void)

返回类型:void

参数:

1649  raw_spin_lock( & console_owner_lock)
1650  console_owner等于当前进程
1651  raw_spin_unlock( & console_owner_lock)
1654  spin_acquire( & console_owner_dep_map, 0, 0, _THIS_IP_)
调用者
名称描述
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()