linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] percpu: Add a test case and fix for clang
@ 2024-10-16 18:23 Andy Shevchenko
  2024-10-16 18:23 ` [PATCH v2 1/2] x86/percpu: Fix clang warning when dealing with unsigned types Andy Shevchenko
  2024-10-16 18:23 ` [PATCH v2 2/2] percpu: Add a test case for the specific 64-bit value addition Andy Shevchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-10-16 18:23 UTC (permalink / raw)
  To: Ingo Molnar, Uros Bizjak, Andy Shevchenko, linux-mm, linux-kernel
  Cc: Dennis Zhou, Tejun Heo, Christoph Lameter, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	Andrew Morton

Add a test case to percpu to check a corner case with the specific
64-bit unsigned value. This test case shows why the first patch is
done in the way it's done.

The before and after has been tested with binary comparison of
the percpu_test module and runnig it on the real Intel system.

v2:
- updated Subject (Dave)
- added test case

Andy Shevchenko (2):
  x86/percpu: Fix clang warning when dealing with unsigned types
  percpu: Add a test case for the specific 64-bit value addition

 arch/x86/include/asm/percpu.h |  7 ++++---
 lib/percpu_test.c             | 11 ++++++++++-
 2 files changed, 14 insertions(+), 4 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-16 18:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-16 18:23 [PATCH v2 0/2] percpu: Add a test case and fix for clang Andy Shevchenko
2024-10-16 18:23 ` [PATCH v2 1/2] x86/percpu: Fix clang warning when dealing with unsigned types Andy Shevchenko
2024-10-16 18:23 ` [PATCH v2 2/2] percpu: Add a test case for the specific 64-bit value addition Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox