Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alled with swap slot cache's alloc lock held

Proto:static int refill_swap_slots_cache(struct swap_slots_cache *cache)

Type:int

Parameter:

TypeParameterName
struct swap_slots_cache *cache
267  If Not use_swap_slot_cache || nr Then Return 0
270  cur = 0
271  If swap_slot_cache_active Then nr = get_swap_pages(SWAP_SLOTS_CACHE_SIZE, slots, 1)
275  Return nr
Caller
NameDescribe
get_swap_page