Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Must not be called with cpu hot plug lock

Proto:void disable_swap_slots_cache_lock(void)

Type:void

Parameter:Nothing

72  mutex_lock( & Serialize swap slots cache enable/disable operations )
73  swap_slot_cache_enabled = false
74  If swap_slot_cache_initialized Then
76  get_online_cpus()
77  __drain_swap_slots_cache(SLOTS_CACHE | SLOTS_CACHE_RET)
78  put_online_cpus()