Searched refs:total_scan (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/include/trace/events/ |
D | vmscan.h | 202 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-6.6.21/mm/ |
D | vmscan.c | 839 long total_scan; in do_shrink_slab() local 871 total_scan = nr >> priority; in do_shrink_slab() 872 total_scan += delta; in do_shrink_slab() 873 total_scan = min(total_scan, (2 * freeable)); in do_shrink_slab() 876 freeable, delta, total_scan, priority); in do_shrink_slab() 893 while (total_scan >= batch_size || in do_shrink_slab() 894 total_scan >= freeable) { in do_shrink_slab() 896 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab() 906 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab() 927 trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan); in do_shrink_slab() [all …]
|