Searched refs:can_swap (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 22 static bool can_swap(void) in can_swap() function 41 if (can_swap()) in msm_gem_shrinker_count() 114 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan() 116 { &priv->lru.willneed, active_evict, can_swap() && can_block(sc) }, in msm_gem_shrinker_scan()
|
/openbmc/linux/mm/ |
H A D | vmscan.c | 3558 for (type = !walk->can_swap; type < ANON_AND_FILE; type++) { in should_skip_mm() 3874 return !walk->can_swap; in should_skip_vma() 3884 return !walk->can_swap; in should_skip_vma() 3960 struct pglist_data *pgdat, bool can_swap) in get_pfn_folio() argument 3976 if (!folio_is_file_lru(folio) && !can_swap) in get_pfn_folio() 4031 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pte_range() 4112 folio = get_pfn_folio(pfn, memcg, pgdat, walk->can_swap); in walk_pmd_range_locked() 4346 static bool inc_min_seq(struct lruvec *lruvec, int type, bool can_swap) in inc_min_seq() argument 4353 if (type == LRU_GEN_ANON && !can_swap) in inc_min_seq() 4382 static bool try_to_inc_min_seq(struct lruvec *lruvec, bool can_swap) in try_to_inc_min_seq() argument [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A 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``,
|
/openbmc/linux/include/linux/ |
H A D | mmzone.h | 489 bool can_swap; member
|