Re: [PATCH 2/9] mm: vmscan: use nid from shrink_control for tracepoint

2020-12-11 Thread Yang Shi
On Wed, Dec 2, 2020 at 7:13 PM Xiaqing (A) wrote: > > > > On 2020/12/3 2:27, 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

Re: [PATCH 2/9] mm: vmscan: use nid from shrink_control for tracepoint

2020-12-02 Thread Xiaqing (A)
On 2020/12/3 2:27, 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 on one no

[PATCH 2/9] mm: vmscan: use nid from shrink_control for tracepoint

2020-12-02 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 see