Home
last modified time | relevance | path

Searched refs:LRU_GEN_ANON (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/mm/
Dvmscan.c3268 READ_ONCE((lruvec)->lrugen.min_seq[LRU_GEN_ANON]), \
3324 get_nr_gens(lruvec, LRU_GEN_FILE) <= get_nr_gens(lruvec, LRU_GEN_ANON) && in seq_is_valid()
3325 get_nr_gens(lruvec, LRU_GEN_ANON) <= MAX_NR_GENS; in seq_is_valid()
4366 if (type == LRU_GEN_ANON && !can_swap) in inc_min_seq()
4422 min_seq[LRU_GEN_ANON] = min(min_seq[LRU_GEN_ANON], min_seq[LRU_GEN_FILE]); in try_to_inc_min_seq()
4423 min_seq[LRU_GEN_FILE] = max(min_seq[LRU_GEN_ANON], lrugen->min_seq[LRU_GEN_FILE]); in try_to_inc_min_seq()
5112 read_ctrl_pos(lruvec, LRU_GEN_ANON, 0, gain[LRU_GEN_ANON], &sp); in get_type_to_scan()
5144 else if (min_seq[LRU_GEN_ANON] < min_seq[LRU_GEN_FILE]) in isolate_folios()
5145 type = LRU_GEN_ANON; in isolate_folios()
5149 type = LRU_GEN_ANON; in isolate_folios()
[all …]
/linux-6.6.21/include/linux/
Dmm_inline.h247 else if ((type == LRU_GEN_ANON && !folio_test_swapcache(folio)) || in lru_gen_add_folio()
Dmmzone.h382 LRU_GEN_ANON, enumerator