[LTP] [PATCH 2/2] cpuset_memory: Fix race in multinode subtests
Cyril Hrubis
chrubis@suse.cz
Wed Dec 17 10:39:26 CET 2025
Hi!
> > I wonder if this very old test is in a long run worth to rewrite into C, as depending on
> > sleep is not a good idea and C API would hopefully help to avoid it. (Yeah, we
> > discuss sleep as a part of ground rules [1].)
>
> I tried, and I gave up :-) too many testcases and a really messy code. I
> really wish we could rewrite it, but this is one of those tests which is
> not worth the effort.
We will have to rewrite it eventually, it's not that complex, just big.
I guess that we need to isolate and rewrite one test after another while
putting the common code into a library.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list