Home
last modified time | relevance | path

Searched refs:total_scan (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/include/trace/events/
Dvmscan.h202 unsigned long long delta, unsigned long total_scan,
205 TP_ARGS(shr, sc, nr_objects_to_shrink, cache_items, delta, total_scan,
216 __field(unsigned long, total_scan)
228 __entry->total_scan = total_scan;
240 __entry->total_scan,
246 long unused_scan_cnt, long new_scan_cnt, long total_scan),
249 total_scan),
258 __field(long, total_scan)
268 __entry->total_scan = total_scan;
277 __entry->total_scan,
/linux-5.19.10/mm/
Dvmscan.c709 long total_scan; in do_shrink_slab() local
741 total_scan = nr >> priority; in do_shrink_slab()
742 total_scan += delta; in do_shrink_slab()
743 total_scan = min(total_scan, (2 * freeable)); in do_shrink_slab()
746 freeable, delta, total_scan, priority); in do_shrink_slab()
763 while (total_scan >= batch_size || in do_shrink_slab()
764 total_scan >= freeable) { in do_shrink_slab()
766 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
776 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab()
797 trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan); in do_shrink_slab()
[all …]