Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_under_socket_pressure

Proto:static inline bool mem_cgroup_under_socket_pressure(struct mem_cgroup *memcg)

Type:bool

Parameter:

TypeParameterName
struct mem_cgroup *memcg
1333  If Not cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys) && tcpmem_pressure Then Return true
1335  Do
1336  If time_before(jiffies, socket_pressure) Then Return true
1338  When memcg = parent_mem_cgroup - find the accounting parent of a memcg*@memcg: memcg whose parent to find* Returns the parent memcg, or NULL if this is the root or the memory* controller is in legacy no-hierarchy mode. cycle
1339  Return false