Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:17:27
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:drop_slab_node

Proto:void drop_slab_node(int nid)

Type:void

Parameter:

TypeParameterName
intnid
712  Do
713  struct mem_cgroup * memcg = NULL
715  freed = 0
716  memcg = mem_cgroup_iter(NULL, NULL, NULL)
717  Do
719  When ((memcg = mem_cgroup_iter(NULL, memcg, NULL)) != NULL) cycle
720  When freed > 10 cycle
Caller
NameDescribe
drop_slab
shake_pageWhen a unknown page type is encountered drain as many buffers as possible* in the hope to turn the page into a LRU or free page, which we can handle.