[LTP] [PATCH] memcg_lib/memcg_process: Better synchronization of signal USR1

Cyril Hrubis chrubis@suse.cz
Mon Nov 25 14:14:12 CET 2019


Hi!
> No, there is no support for TST_CHECKPOINT in shell.

Well there is actually. There is a tst_checkpoint helper that calls
tst_reinit() to map the shared page to be used with futexes and then
just calls the corresponding wake or wait function.

And yes it has been used in the cgroup testcases to synchronize C
helper that allocates memory and shell test that executes it.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list