[LTP] [PATCH v2 1/2] memcontrol: Add bind_to_current_cpu() helper
Cyril Hrubis
chrubis@suse.cz
Tue Nov 10 12:51:01 CET 2026
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
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list