Home
last modified time | relevance | path

Searched refs:swap_slot_cache_enabled (Results 1 – 2 of 2) sorted by relevance

/mm/
Dswap_slots.c40 bool swap_slot_cache_enabled; variable
50 #define use_swap_slot_cache (swap_slot_cache_active && swap_slot_cache_enabled)
75 swap_slot_cache_enabled = false; in disable_swap_slots_cache_lock()
86 swap_slot_cache_enabled = has_usable_swap(); in __reenable_swap_slots_cache()
97 return swap_slot_cache_enabled; in is_swap_slot_cache_enabled()
105 if (!swap_slot_cache_enabled) in check_cache_active()
Dswap_state.c486 if (!__swp_swapcount(entry) && swap_slot_cache_enabled) in __read_swap_cache_async()