函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swap.h Create Date:2022-07-27 06:56:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:current_is_kswapd

函数原型:static inline int current_is_kswapd(void)

返回类型:int

参数:

37  返回:flags按位与PF_KSWAPD
调用者
名称描述
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