Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Print out unreclaimble slabs info when unreclaimable slabs amount is greater* than all user memory (LRU pages)

Proto:static bool is_dump_unreclaim_slabs(void)

Type:bool

Parameter:Nothing

178  nr_lru = global_node_page_state(NR_ACTIVE_ANON) + global_node_page_state(NR_INACTIVE_ANON) + global_node_page_state(NR_ACTIVE_FILE) + global_node_page_state(NR_INACTIVE_FILE) + global_node_page_state(NR_ISOLATED_ANON) + global_node_page_state(NR_ISOLATED_FILE) + global_node_page_state(NR_UNEVICTABLE)
186  Return global_node_page_state(NR_SLAB_UNRECLAIMABLE) > nr_lru
Caller
NameDescribe
dump_header