Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:task_in_memcg_oom

Proto:static inline bool task_in_memcg_oom(struct task_struct *p)

Type:bool

Parameter:

TypeParameterName
struct task_struct *p
564  Return memcg_in_oom
Caller
NameDescribe
handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().
try_charge