Searched refs:nr_reclaimed (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/include/trace/events/ |
H A D | vmscan.h | 146 TP_PROTO(unsigned long nr_reclaimed), 148 TP_ARGS(nr_reclaimed), 151 __field( unsigned long, nr_reclaimed ) 155 __entry->nr_reclaimed = nr_reclaimed; 158 TP_printk("nr_reclaimed=%lu", __entry->nr_reclaimed) 163 TP_PROTO(unsigned long nr_reclaimed), 165 TP_ARGS(nr_reclaimed) 170 TP_PROTO(unsigned long nr_reclaimed), 172 TP_ARGS(nr_reclaimed) 177 TP_PROTO(unsigned long nr_reclaimed), 179 TP_ARGS(nr_reclaimed) 357 unsigned long nr_scanned, unsigned long nr_reclaimed, 360 TP_ARGS(nid, zid, nr_scanned, nr_reclaimed, priority, reclaim_flags), 366 __field(unsigned long, nr_reclaimed) 375 __entry->nr_reclaimed = nr_reclaimed; 380 TP_printk("nid=%d zid=%d nr_scanned=%ld nr_reclaimed=%ld priority=%d flags=%s", 382 __entry->nr_scanned, __entry->nr_reclaimed,
|
/linux-4.4.14/mm/ |
H A D | vmscan.c | 106 unsigned long nr_reclaimed; member in struct:scan_control 897 unsigned long nr_reclaimed = 0; shrink_page_list() local 1168 * increment nr_reclaimed here (and shrink_page_list() 1171 nr_reclaimed++; shrink_page_list() 1189 nr_reclaimed++; shrink_page_list() 1231 return nr_reclaimed; shrink_page_list() 1563 unsigned long nr_reclaimed = 0; shrink_inactive_list() local 1610 nr_reclaimed = shrink_page_list(&page_list, zone, sc, TTU_UNMAP, shrink_inactive_list() 1622 nr_reclaimed); shrink_inactive_list() 1625 nr_reclaimed); shrink_inactive_list() 1696 nr_scanned, nr_reclaimed, shrink_inactive_list() 1699 return nr_reclaimed; shrink_inactive_list() 2189 unsigned long nr_reclaimed = 0; shrink_lruvec() local 2226 nr_reclaimed += shrink_list(lru, nr_to_scan, for_each_evictable_lru() 2231 if (nr_reclaimed < nr_to_reclaim || scan_adjusted) 2286 sc->nr_reclaimed += nr_reclaimed; 2318 unsigned long nr_reclaimed, should_continue_reclaim() 2337 if (!nr_reclaimed && !nr_scanned) should_continue_reclaim() 2348 if (!nr_reclaimed) should_continue_reclaim() 2360 if (sc->nr_reclaimed < pages_for_compaction && should_continue_reclaim() 2378 unsigned long nr_reclaimed, nr_scanned; shrink_zone() local 2390 nr_reclaimed = sc->nr_reclaimed; shrink_zone() 2429 sc->nr_reclaimed >= sc->nr_to_reclaim) { shrink_zone() 2445 sc->nr_reclaimed += reclaim_state->reclaimed_slab; shrink_zone() 2451 sc->nr_reclaimed - nr_reclaimed); shrink_zone() 2453 if (sc->nr_reclaimed - nr_reclaimed) shrink_zone() 2456 } while (should_continue_reclaim(zone, sc->nr_reclaimed - nr_reclaimed, shrink_zone() 2588 sc->nr_reclaimed += nr_soft_reclaimed; for_each_zone_zonelist_nodemask() 2648 if (sc->nr_reclaimed >= sc->nr_to_reclaim) do_try_to_free_pages() 2678 if (sc->nr_reclaimed) do_try_to_free_pages() 2679 return sc->nr_reclaimed; do_try_to_free_pages() 2829 unsigned long nr_reclaimed; try_to_free_pages() local 2853 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); try_to_free_pages() 2855 trace_mm_vmscan_direct_reclaim_end(nr_reclaimed); try_to_free_pages() 2857 return nr_reclaimed; try_to_free_pages() 2894 trace_mm_vmscan_memcg_softlimit_reclaim_end(sc.nr_reclaimed); mem_cgroup_shrink_node_zone() 2897 return sc.nr_reclaimed; mem_cgroup_shrink_node_zone() 2906 unsigned long nr_reclaimed; try_to_free_mem_cgroup_pages() local 2932 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); try_to_free_mem_cgroup_pages() 2934 trace_mm_vmscan_memcg_reclaim_end(nr_reclaimed); try_to_free_mem_cgroup_pages() 2936 return nr_reclaimed; try_to_free_mem_cgroup_pages() 3178 sc.nr_reclaimed = 0; balance_pgdat() 3280 sc.nr_reclaimed += nr_soft_reclaimed; balance_pgdat() 3310 if (order && sc.nr_reclaimed >= 2UL << order) balance_pgdat() 3321 if (pgdat_needs_compaction && sc.nr_reclaimed > nr_attempted) balance_pgdat() 3328 if (raise_priority || !sc.nr_reclaimed) balance_pgdat() 3557 unsigned long nr_reclaimed; shrink_all_memory() local 3564 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); shrink_all_memory() 3570 return nr_reclaimed; shrink_all_memory() 3760 } while (sc.nr_reclaimed < nr_pages && --sc.priority >= 0); __zone_reclaim() 3766 return sc.nr_reclaimed >= nr_pages; __zone_reclaim() 2317 should_continue_reclaim(struct zone *zone, unsigned long nr_reclaimed, unsigned long nr_scanned, struct scan_control *sc) should_continue_reclaim() argument
|
H A D | memcontrol.c | 2034 unsigned long nr_reclaimed; try_charge() local 2080 nr_reclaimed = try_to_free_mem_cgroup_pages(mem_over_limit, nr_pages, try_charge() 2103 if (nr_reclaimed && nr_pages <= (1 << PAGE_ALLOC_COSTLY_ORDER)) try_charge() 2640 unsigned long nr_reclaimed = 0; mem_cgroup_soft_limit_reclaim() local 2668 nr_reclaimed += reclaimed; mem_cgroup_soft_limit_reclaim() 2700 if (!nr_reclaimed && mem_cgroup_soft_limit_reclaim() 2704 } while (!nr_reclaimed); mem_cgroup_soft_limit_reclaim() 2707 return nr_reclaimed; mem_cgroup_soft_limit_reclaim()
|
H A D | page_alloc.c | 6641 unsigned long nr_reclaimed; __alloc_contig_migrate_range() local 6667 nr_reclaimed = reclaim_clean_pages_from_list(cc->zone, __alloc_contig_migrate_range() 6669 cc->nr_migratepages -= nr_reclaimed; __alloc_contig_migrate_range()
|
/linux-4.4.14/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 111 my $regex_direct_end_default = 'nr_reclaimed=([0-9]*)'; 116 my $regex_lru_shrink_inactive_default = 'nid=([0-9]*) zid=([0-9]*) nr_scanned=([0-9]*) nr_reclaimed=([0-9]*) priority=([0-9]*) flags=([A-Z_|]*)'; 192 "nr_reclaimed"); 215 "nr_scanned", "nr_reclaimed", "priority", 409 my $nr_reclaimed = $4; 415 $perprocesspid{$process_pid}->{HIGH_NR_RECLAIMED} += $nr_reclaimed; 417 $perprocesspid{$process_pid}->{HIGH_NR_FILE_RECLAIMED} += $nr_reclaimed; 419 $perprocesspid{$process_pid}->{HIGH_NR_ANON_RECLAIMED} += $nr_reclaimed;
|
Completed in 211 milliseconds