Re: [PATCH rt-tests v3 27/33] pip_stress: Return failure code if test fails
From: John Kacur <jkacur@redhat.com>
Date: 2021-05-13 19:27:47
On Wed, May 12, 2021 at 3:36 AM Daniel Wagner [off-list ref] wrote:
quoted
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 pleaseIf 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