Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:deactivate_swap_slots_cache

Proto:static void deactivate_swap_slots_cache(void)

Type:void

Parameter:Nothing

56  mutex_lock( & swap_slots_cache_mutex)
57  swap_slot_cache_active = false
58  __drain_swap_slots_cache(SLOTS_CACHE | SLOTS_CACHE_RET)
59  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
check_cache_active