[LTP] [PATCH v2 1/2] memcontrol: Add bind_to_current_cpu() helper

Wei Gao wegao@suse.com
Mon Nov 9 02:53:04 CET 2026


On Wed, Nov 04, 2026 at 04:42:15PM +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?
> 
> -- 
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list