Searched refs:cur_frontswap_pages (Results 1 – 1 of 1) sorted by relevance
154 static unsigned long cur_frontswap_pages; in frontswap_selfshrink() local158 last_frontswap_pages = cur_frontswap_pages; in frontswap_selfshrink()159 cur_frontswap_pages = frontswap_curr_pages(); in frontswap_selfshrink()160 if (!cur_frontswap_pages || in frontswap_selfshrink()161 (cur_frontswap_pages > last_frontswap_pages)) { in frontswap_selfshrink()167 if (cur_frontswap_pages <= frontswap_hysteresis) in frontswap_selfshrink()170 tgt_frontswap_pages = cur_frontswap_pages - in frontswap_selfshrink()171 (cur_frontswap_pages / frontswap_hysteresis); in frontswap_selfshrink()