Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-28 05:59:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:this_rq_lock_irq

Proto:static inline struct rq *this_rq_lock_irq(struct rq_flags *rf)__acquires(rq->lock)

Type:struct rq

Parameter:

TypeParameterName
struct rq_flags *rf
1257  local_irq_disable()
1258  rq = this_rq()
1259  rq_lock(rq, rf)
1260  Return rq
Caller
NameDescribe
do_sched_yieldsys_sched_yield - yield the current processor to other threads.* This function yields the current CPU to other tasks. If there are no* other threads running on this CPU then this function will return.* Return: 0.
psi_memstall_enterpsi_memstall_enter - mark the beginning of a memory stall section*@flags: flags to handle nested sections* Marks the calling task as being stalled due to a lack of memory,* such as waiting for a refault or performing reclaim.
psi_memstall_leavepsi_memstall_leave - mark the end of an memory stall section*@flags: flags to handle nested memdelay sections* Marks the calling task as no longer stalled due to lack of memory.