Searched refs:MIN_NR_GENS (Results 1 - 3 of 3) sorted by relevance

/linux-master/mm/
H A Dvmscan.c2632 return get_nr_gens(lruvec, LRU_GEN_FILE) >= MIN_NR_GENS &&
3729 while (min_seq[type] + MIN_NR_GENS <= lrugen->max_seq) {
4347 if (get_nr_gens(lruvec, type) == MIN_NR_GENS)
4529 if (get_nr_gens(lruvec, !swappiness) == MIN_NR_GENS)
4611 if (min_seq[!can_swap] + MIN_NR_GENS > max_seq) {
4630 else if (seq + MIN_NR_GENS == max_seq)
4639 * stalls when the number of generations reaches MIN_NR_GENS. Hence, the
4640 * ideal number of generations is MIN_NR_GENS+1.
4642 if (min_seq[!can_swap] + MIN_NR_GENS < max_seq)
4646 * It's also ideal to spread pages out evenly, i.e., 1/(MIN_NR_GENS
[all...]
/linux-master/include/linux/
H A Dmm_inline.h171 /* see the comment on MIN_NR_GENS */
252 else if (reclaiming || lrugen->min_seq[type] + MIN_NR_GENS >= lrugen->max_seq)
259 /* see the comment on MIN_NR_GENS about PG_active */
H A Dmmzone.h331 * They form a sliding window of a variable size [MIN_NR_GENS, MAX_NR_GENS]. An
341 * hence MIN_NR_GENS. And to maintain ABI compatibility with the active/inactive
356 #define MIN_NR_GENS 2U macro

Completed in 110 milliseconds