Re: [PATCH v5 1/2] selftests/futex: implement the interfaces related to threads
From: Yuwen Chen
Date: Fri Feb 27 2026 - 03:59:44 EST
On Fri, 13 Feb 2026 09:23:14 +0100, Thomas Gleixner wrote:
> Again. What's this usleep for?
>
> If the file cannot be opened or fgets() fails then this fails hard.
On embedded platforms, the CONFIG_KALLSYMS compilation option may not
be enabled due to reasons such as reducing the size. This will cause
the test item to fail. Do you still insist on returning a test failure
when the opening fails?
> Why aren't you waiting for the thread right here? There is absolutely no
> point in doing that at the call site of futex_thread_create().
Also for the reasons mentioned above, my idea is to ensure that the test
item can pass with a high probability even if the CONFIG_KALLSYMS option
is not enabled.
Thank you very much for your patient guidance. I was quite busy some
time ago, so I'm replying to you now. I'm really sorry.
Thanks