Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-28 14:29:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dump_unreclaimable_slab

Proto:void dump_unreclaimable_slab(void)

Type:void

Parameter:Nothing

1502  If Not mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically Then
1503  pr_warn("excessive unreclaimable slab but cannot dump stats\n")
1504  Return
1507  pr_info("Unreclaimable slab info:\n")
1508  pr_info("Name Used Total\n")
1511  If Not is_root_cache(s) || Used for retrieving partial slabs, etc. & Objects are reclaimable Then Continue
1514  get_slabinfo(s, & sinfo)
1516  If num_objs > 0 Then pr_info("%-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.
Caller
NameDescribe
dump_header