[LTP] [PATCH v2 1/2] memcontrol: Add bind_to_current_cpu() helper
Wei Gao
wegao@suse.com
Tue Nov 10 14:58:45 CET 2026
On Tue, Nov 10, 2026 at 12:51:01PM +0100, Cyril Hrubis wrote:
> Hi!
> > > We have this piece of code in getrusage03.c as well, so I suppose that
> > > we should add this to the include/tst_cpu.h in order to make the
> > > function available for all tests.
> > getrusage03.c does not have any CPU binding operation, i guess you mean
> > perf_event_open02.c which contains the exact identical bind_to_current_cpu()
> > function?
>
> It's called pin_to_current_cpu() in getrusage03.c
Thanks, will send next patch.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
More information about the ltp
mailing list