Searched refs:total_scan (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/include/trace/events/ |
D | vmscan.h | 188 unsigned long long delta, unsigned long total_scan, 191 TP_ARGS(shr, sc, nr_objects_to_shrink, cache_items, delta, total_scan, 202 __field(unsigned long, total_scan) 214 __entry->total_scan = total_scan; 226 __entry->total_scan, 232 long unused_scan_cnt, long new_scan_cnt, long total_scan), 235 total_scan), 244 __field(long, total_scan) 254 __entry->total_scan = total_scan; 263 __entry->total_scan,
|
/kernel/linux/linux-5.10/mm/ |
D | vmscan.c | 347 long total_scan; in do_shrink_slab() local 370 total_scan = nr; in do_shrink_slab() 384 total_scan += delta; in do_shrink_slab() 385 if (total_scan < 0) { in do_shrink_slab() 387 shrinker->scan_objects, total_scan); in do_shrink_slab() 388 total_scan = freeable; in do_shrink_slab() 391 next_deferred = total_scan; in do_shrink_slab() 406 total_scan = min(total_scan, freeable / 2); in do_shrink_slab() 413 if (total_scan > freeable * 2) in do_shrink_slab() 414 total_scan = freeable * 2; in do_shrink_slab() [all …]
|