函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:41:22
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:drop_slab_node

函数原型:void drop_slab_node(int nid)

返回类型:void

参数:

类型参数名称
intnid
712  循环
713  struct mem_cgroup * memcg = NULL
715  freed等于0
716  memcg等于mem_cgroup_iter(NULL, NULL, NULL)
717  循环
719  当((memcg = mem_cgroup_iter(NULL, memcg, NULL)) != NULL)循环
720 freed大于10循环
调用者
名称描述
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.