--- a/mm/vmscan.c~mm-vmscan-use-nid-from-shrink_control-for-tracepoint +++ a/mm/vmscan.c @@ -536,7 +536,7 @@ static unsigned long do_shrink_slab(stru else new_nr = atomic_long_read(&shrinker->nr_deferred[nid]); - trace_mm_shrink_slab_end(shrinker, nid, freed, nr, new_nr, total_scan); + trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan); return freed; }