Re: [PATCH rt-tests v3 27/33] pip_stress: Return failure code if test fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 12, 2021 at 3:36 AM Daniel Wagner <wagi@xxxxxxxxx> wrote:
>
> > It isn't really an error if no priority inheritance occurs.
> > An error from this program would be something like mmap returning an error
> > code.
> >
> > I'm not sure this one is suitable for the json treatment, it's more of a
> > demonstration of how to use priority inheritance with processes instead of
> > threads. Thomas told me this was possible and I was curious to see if this
> > was true, so I scratched that itch. Not sure if it is useful as a test.
> >
> > Let's leave pip_stress alone for now please
>
> If it's a for demonstration purposes only, could we remove it from the
> source tree? I don't think it should be left there if it's not
> considered a proper test.
>

I suppose this is a fair question, although another question would be
is it useful in the rt-tests suites for other reasons?
It could be used as the "engine" of a test that would be similar to
pi_stress, with a different kind of mechanism.

So then the question would be, is there a value in another pi_stress
like test that avoids pthreads?
If so, I could work it up into a test.

John




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux