Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\tcp.h Create Date:2022-07-28 06:42:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ptimized version of sk_under_memory_pressure() for TCP sockets

Proto:static inline bool tcp_under_memory_pressure(const struct sock *sk)

Type:bool

Parameter:

TypeParameterName
const struct sock *sk
257  If mem_cgroup_sockets_enabled && sk_memcg && mem_cgroup_under_socket_pressure(sk_memcg) Then Return true
261  Return READ_ONCE(tcp_memory_pressure)