Searched refs:swap_slot_cache_enabled (Results 1 – 2 of 2) sorted by relevance
40 bool swap_slot_cache_enabled; variable50 #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()
486 if (!__swp_swapcount(entry) && swap_slot_cache_enabled) in __read_swap_cache_async()