mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yuwen Chen <ywen.chen@foxmail.com>
To: tglx@kernel.org
Cc: akpm@linux-foundation.org, andrealmeid@igalia.com,
	bigeasy@linutronix.de, colin.i.king@gmail.com, dave@stgolabs.net,
	dvhart@infradead.org, edliaw@google.com, justinstitt@google.com,
	kernel-team@android.com, licayy@foxmail.com,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	luto@mit.edu, mingo@redhat.com, morbo@google.com,
	nathan@kernel.org, ndesaulniers@google.com, peterz@infradead.org,
	shuah@kernel.org, usama.anjum@collabora.com, wakel@google.com,
	ywen.chen@foxmail.com
Subject: Re: [PATCH v5 1/2] selftests/futex: implement the interfaces related to threads
Date: Fri, 27 Feb 2026 16:53:26 +0800	[thread overview]
Message-ID: <tencent_CFAEC9223E6E96F14FD78573C5BC9C2FBE07@qq.com> (raw)
In-Reply-To: <87ldgx832l.ffs@tglx>

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


  reply	other threads:[~2026-02-27  8:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05  2:00 [PATCH v5 0/2] selftests/futex: fix the failed futex_requeue test Yuwen Chen
2026-02-05  2:08 ` [PATCH v5 1/2] selftests/futex: implement the interfaces related to threads Yuwen Chen
2026-02-13  8:23   ` Thomas Gleixner
2026-02-27  8:53     ` Yuwen Chen [this message]
2026-02-05  2:09 ` [PATCH v5 2/2] selftests/futex: fix the failed futex_requeue test issue Yuwen Chen
2026-02-13  8:25   ` Thomas Gleixner
2026-02-05  2:05 [PATCH v5 1/2] selftests/futex: implement the interfaces related to threads Yuwen Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_CFAEC9223E6E96F14FD78573C5BC9C2FBE07@qq.com \
    --to=ywen.chen@foxmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=andrealmeid@igalia.com \
    --cc=bigeasy@linutronix.de \
    --cc=colin.i.king@gmail.com \
    --cc=dave@stgolabs.net \
    --cc=dvhart@infradead.org \
    --cc=edliaw@google.com \
    --cc=justinstitt@google.com \
    --cc=kernel-team@android.com \
    --cc=licayy@foxmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=luto@mit.edu \
    --cc=mingo@redhat.com \
    --cc=morbo@google.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=peterz@infradead.org \
    --cc=shuah@kernel.org \
    --cc=tglx@kernel.org \
    --cc=usama.anjum@collabora.com \
    --cc=wakel@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®