Re: [v5 PATCH 01/11] mm: vmscan: use nid from shrink_control for tracepoint

2021-01-28 Thread Vlastimil Babka
On 1/28/21 12:33 AM, Yang Shi wrote: > The tracepoint's nid should show what node the shrink happens on, the start > tracepoint > uses nid from shrinkctl, but the nid might be set to 0 before end tracepoint > if the > shrinker is not NUMA aware, so the traceing log may show the shrink happens >

[v5 PATCH 01/11] mm: vmscan: use nid from shrink_control for tracepoint

2021-01-27 Thread Yang Shi
The tracepoint's nid should show what node the shrink happens on, the start tracepoint uses nid from shrinkctl, but the nid might be set to 0 before end tracepoint if the shrinker is not NUMA aware, so the traceing log may show the shrink happens on one node but end up on the other node. It