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

Petr Vorel pvorel@suse.cz
Mon Nov 25 15:28:58 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.
Great.
Joerg, sorry for being wrong, thanks Cyril for correction.

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

Kind regards,
Petr


More information about the ltp mailing list