Home
last modified time | relevance | path

Searched refs:can_swap (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c22 static bool can_swap(void) in can_swap() function
41 if (can_swap()) in msm_gem_shrinker_count()
113 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
115 { &priv->lru.willneed, active_evict, can_swap() && can_block(sc) }, in msm_gem_shrinker_scan()
/Linux-v6.1/mm/
Dvmscan.c3432 for (type = !walk->can_swap; type < ANON_AND_FILE; type++) { in should_skip_mm()
3759 return !walk->can_swap; in should_skip_vma()
3769 return !walk->can_swap; in should_skip_vma()
3845 struct pglist_data *pgdat, bool can_swap) in get_pfn_folio() argument
3861 if (!folio_is_file_lru(folio) && !can_swap) in get_pfn_folio()
3915 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pte_range()
3996 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pmd_range_locked()
4232 static bool inc_min_seq(struct lruvec *lruvec, int type, bool can_swap) in inc_min_seq() argument
4239 if (type == LRU_GEN_ANON && !can_swap) in inc_min_seq()
4268 static bool try_to_inc_min_seq(struct lruvec *lruvec, bool can_swap) in try_to_inc_min_seq() argument
[all …]
/Linux-v6.1/Documentation/admin-guide/mm/
Dmultigen_lru.rst125 ``+ memcg_id node_id max_gen_nr [can_swap [force_scan]]``
127 ``can_swap`` defaults to the swap setting and, if it is set to ``1``,
/Linux-v6.1/include/linux/
Dmmzone.h474 bool can_swap; member