Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\softirq.c Create Date:2022-07-28 09:04:18
Last Modify:2022-05-22 11:04:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This one is for softirq.c-internal use,* where hardirqs are disabled legitimately:

Proto:static void __local_bh_enable(unsigned int cnt)

Type:void

Parameter:

TypeParameterName
unsigned intcnt
144  lockdep_assert_irqs_disabled()
146  If We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. == cnt Then Use defines instead of static inlines because some arches will make code out* of the CALLER_ADDR, when we really want these to be a real nop.(CALLER_ADDR0, get_lock_parent_ip())
149  If softirq_count() == (cnt & SOFTIRQ_MASK) Then trace_softirqs_on(_RET_IP_)
152  __preempt_count_sub(cnt)
Caller
NameDescribe
_local_bh_enableSpecial-case - softirqs can safely be enabled by __do_softirq(),* without processing still-pending softirqs:
__do_softirq