Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swap.h Create Date:2022-07-28 05:57:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:current_is_kswapd

Proto:static inline int current_is_kswapd(void)

Type:int

Parameter:Nothing

37  Return flags & PF_KSWAPD
Caller
NameDescribe
shrink_page_listshrink_page_list() returns the number of reclaimed pages
too_many_isolatedA direct reclaimer may isolate SWAP_CLUSTER_MAX pages from the LRU list and* then get rescheduled
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
shrink_lruvec
shrink_node
get_limit
bio_to_wbt_flags
inode_lru_isolateIsolate the inode from the LRU in preparation for freeing it