• Home
  • Raw
  • Download

Lines Matching refs:order

134 	s8 order;  member
1798 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_pages()
2646 if (IS_ENABLED(CONFIG_COMPACTION) && sc->order && in in_reclaim_compaction()
2647 (sc->order > PAGE_ALLOC_COSTLY_ORDER || in in_reclaim_compaction()
2692 switch (compaction_suitable(zone, sc->order, 0, sc->reclaim_idx)) { in should_continue_reclaim()
2706 pages_for_compaction = compact_gap(sc->order); in should_continue_reclaim()
2978 suitable = compaction_suitable(zone, sc->order, 0, sc->reclaim_idx); in compaction_ready()
2995 watermark = high_wmark_pages(zone) + compact_gap(sc->order); in compaction_ready()
3049 sc->order > PAGE_ALLOC_COSTLY_ORDER && in shrink_zones()
3072 sc->order, sc->gfp_mask, in shrink_zones()
3343 unsigned long try_to_free_pages(struct zonelist *zonelist, int order, in try_to_free_pages() argument
3351 .order = order, in try_to_free_pages()
3376 trace_mm_vmscan_direct_reclaim_begin(order, sc.gfp_mask); in try_to_free_pages()
3409 trace_mm_vmscan_memcg_softlimit_reclaim_begin(sc.order, in mem_cgroup_shrink_node()
3518 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) in pgdat_balanced() argument
3535 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx)) in pgdat_balanced()
3566 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, in prepare_kswapd_sleep() argument
3589 if (pgdat_balanced(pgdat, order, highest_zoneidx)) { in prepare_kswapd_sleep()
3634 if (sc->order && sc->nr_reclaimed >= compact_gap(sc->order)) in kswapd_shrink_node()
3635 sc->order = 0; in kswapd_shrink_node()
3653 static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) in balance_pgdat() argument
3665 .order = order, in balance_pgdat()
3729 balanced = pgdat_balanced(pgdat, sc.order, highest_zoneidx); in balance_pgdat()
3774 nr_soft_reclaimed = mem_cgroup_soft_limit_reclaim(pgdat, sc.order, in balance_pgdat()
3858 return sc.order; in balance_pgdat()
4100 void wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, in wakeup_kswapd() argument
4118 if (READ_ONCE(pgdat->kswapd_order) < order) in wakeup_kswapd()
4119 WRITE_ONCE(pgdat->kswapd_order, order); in wakeup_kswapd()
4126 (pgdat_balanced(pgdat, order, highest_zoneidx) && in wakeup_kswapd()
4136 wakeup_kcompactd(pgdat, order, highest_zoneidx); in wakeup_kswapd()
4140 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, highest_zoneidx, order, in wakeup_kswapd()
4322 static int __node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in __node_reclaim() argument
4325 const unsigned long nr_pages = 1 << order; in __node_reclaim()
4331 .order = order, in __node_reclaim()
4339 trace_mm_vmscan_node_reclaim_begin(pgdat->node_id, order, in __node_reclaim()
4373 int node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order) in node_reclaim() argument
4410 ret = __node_reclaim(pgdat, gfp_mask, order); in node_reclaim()