Searched refs:can_swap (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/msm/ ! |
D | msm_gem_shrinker.c | 22 static bool can_swap(void) in can_swap() function 40 if (can_swap()) in msm_gem_shrinker_count() 112 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan() 114 { &priv->lru.willneed, active_evict, can_swap() && can_block(sc) }, in msm_gem_shrinker_scan()
|
/linux-6.12.1/mm/ ! |
D | vmscan.c | 3251 return !walk->can_swap; in should_skip_vma() 3261 return !walk->can_swap; in should_skip_vma() 3349 struct pglist_data *pgdat, bool can_swap) in get_pfn_folio() argument 3361 if (!folio_is_file_lru(folio) && !can_swap) in get_pfn_folio() 3412 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pte_range() 3497 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pmd_range_locked() 3717 static bool inc_min_seq(struct lruvec *lruvec, int type, bool can_swap) in inc_min_seq() argument 3724 if (type == LRU_GEN_ANON && !can_swap) in inc_min_seq() 3753 static bool try_to_inc_min_seq(struct lruvec *lruvec, bool can_swap) in try_to_inc_min_seq() argument 3763 for (type = !can_swap; type < ANON_AND_FILE; type++) { in try_to_inc_min_seq() [all …]
|
/linux-6.12.1/Documentation/admin-guide/mm/ ! |
D | multigen_lru.rst | 125 ``+ 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-6.12.1/include/linux/ ! |
D | mmzone.h | 496 bool can_swap; member
|