函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-27 15:54:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dump_unreclaimable_slab

函数原型:void dump_unreclaimable_slab(void)

返回类型:void

参数:

1502  如果非mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically
1503  打印警告信息("excessive unreclaimable slab but cannot dump stats\n")
1504  返回
1507  打印信息("Unreclaimable slab info:\n")
1508  打印信息("Name Used Total\n")
1511  如果非is_root_cache(s)或Used for retrieving partial slabs, etc. 按位与Objects are reclaimable 则继续下一循环
1514  get_slabinfo(s, & sinfo)
1516  如果num_objs大于0则打印信息("%-17s %10luKB %10luKB\n", cache_name(s), (active_objs * The size of an object including metadata ) / 1024, (num_objs * The size of an object including metadata ) / 1024)
1521  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
调用者
名称描述
dump_header