On Thu, Aug 7, 2025 at 11:32 PM Menglong Dong <menglong8.dong@xxxxxxxxx> wrote: > > On Fri, Aug 8, 2025 at 8:58 AM Alexei Starovoitov > <alexei.starovoitov@xxxxxxxxx> wrote: > > > [......] > > > +{ > > > + DEFINE(RQ_nr_pinned, offsetof(struct rq, nr_pinned)); > > > > This part looks nice and sweet. Not sure what you were concerned about. > > > > Respin it as a proper patch targeting tip tree. > > > > And explain the motivation in commit log with detailed > > 'perf report' before/after along with 111M/s to 121M/s speed up, > > > > I suspect with my other __set_cpus_allowed_ptr() suggestion > > the speed up should be even bigger. > > Much better. > > Before: > fentry : 113.030 ± 0.149M/s > fentry : 112.501 ± 0.187M/s > fentry : 112.828 ± 0.267M/s > fentry : 115.287 ± 0.241M/s > > After: > fentry : 143.644 ± 0.670M/s > fentry : 149.764 ± 0.362M/s > fentry : 149.642 ± 0.156M/s > fentry : 145.263 ± 0.221M/s > fentry : 145.558 ± 0.145M/s Nice!