[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_920541146CD237CFA8AF04A9F09DF4D4A907@qq.com>
Date: Tue, 16 Dec 2025 17:14:05 +0800
From: Licay <licayy@...mail.com>
To: ywen.chen@...mail.com,
akpm@...ux-foundation.org
Cc: andrealmeid@...lia.com,
bigeasy@...utronix.de,
colin.i.king@...il.com,
dave@...olabs.net,
dvhart@...radead.org,
justinstitt@...gle.com,
kernel-team@...roid.com,
linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
luto@....edu,
mingo@...hat.com,
morbo@...gle.com,
nathan@...nel.org,
ndesaulniers@...gle.com,
peterz@...radead.org,
shuah@...nel.org,
tglx@...utronix.de,
usama.anjum@...labora.com,
Licay <licayy@...mail.com>
Subject: [PATCH v2 3/5] selftests/futex: read atomic variable value with atomic_read
> Directly reading the internal value of atomic_t externally does
> not meet the encapsulation requirements. A new function
> atomic_read is added to obtain the value of an atomic variable.
>
> Signed-off-by: Yuwen Chen <ywen.chen@...mail.com>
> ---
> .../selftests/futex/functional/futex_requeue_pi.c | 12 ++++++------
> .../functional/futex_requeue_pi_signal_restart.c | 4 ++--
> tools/testing/selftests/futex/include/atomic.h | 12 ++++++++++++
> 3 files changed, 20 insertions(+), 8 deletions(-)
Reviewed-by: Licay <licayy@...mail.com>
Powered by blists - more mailing lists