Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_mem_reclaim

Proto:static inline void sk_mem_reclaim(struct sock *sk)

Type:void

Parameter:

TypeParameterName
struct sock *sk
1437  If Not sk_has_account(sk) Then Return
1439  If sk_forward_alloc >= We used to have PAGE_SIZE here, but systems with 64KB pages* do not necessarily have 16x time more memory than 4KB ones. Then __sk_mem_reclaim(sk, sk_forward_alloc)