Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wake_up_klogd

Proto:void wake_up_klogd(void)

Type:void

Parameter:Nothing

2969  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.()
2970  If waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_ Then
2971  this_cpu_or(printk_pending, Delayed printk version, for scheduler-internal messages:)
2972  irq_work_queue(this_cpu_ptr( & wake_up_klogd_work))
2974  preempt_enable()
Caller
NameDescribe
vprintk_emit
bust_spinlocks