public inbox for chrome-platform@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/4] revocable: Fix reported race conditions
@ 2026-01-29 14:37 Tzung-Bi Shih
  2026-01-29 14:37 ` [PATCH 1/4] revocable: Fix races in revocable_alloc() using RCU Tzung-Bi Shih
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tzung-Bi Shih @ 2026-01-29 14:37 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich
  Cc: Jonathan Corbet, Shuah Khan, Laurent Pinchart,
	Bartosz Golaszewski, Wolfram Sang, Jason Gunthorpe, Johan Hovold,
	linux-kernel, linux-kselftest, chrome-platform, tzungbi

The 1st patch fixes the issue reported in [1].  The 2nd patch adds KUnit
test for the cases.

The 3rd patch fixes the issue reported in [2].  The 4th patch adds KUnit
test for one of the cases.

[1] https://lore.kernel.org/all/aXdy-b3GOJkzGqYo@hovoldconsulting.com/
[2] https://lore.kernel.org/all/20260124170535.11756-4-johan@kernel.org/

Tzung-Bi Shih (4):
  revocable: Fix races in revocable_alloc() using RCU
  revocable: Add KUnit test for provider lifetime races
  revocable: fix SRCU index corruption by requiring caller-provided
    storage
  revocable: Add KUnit test for concurrent access

 .../driver-api/driver-model/revocable.rst     |  17 +-
 drivers/base/revocable.c                      | 118 +++++-----
 drivers/base/revocable_test.c                 | 216 +++++++++++++++---
 include/linux/revocable.h                     |  60 +++--
 .../revocable/test_modules/revocable_test.c   |  54 ++---
 5 files changed, 300 insertions(+), 165 deletions(-)

-- 
2.53.0.rc1.217.geba53bf80e-goog


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

end of thread, other threads:[~2026-01-29 14:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 14:37 [PATCH 0/4] revocable: Fix reported race conditions Tzung-Bi Shih
2026-01-29 14:37 ` [PATCH 1/4] revocable: Fix races in revocable_alloc() using RCU Tzung-Bi Shih
2026-01-29 14:37 ` [PATCH 2/4] revocable: Add KUnit test for provider lifetime races Tzung-Bi Shih
2026-01-29 14:37 ` [PATCH 3/4] revocable: fix SRCU index corruption by requiring caller-provided storage Tzung-Bi Shih
2026-01-29 14:37 ` [PATCH 4/4] revocable: Add KUnit test for concurrent access Tzung-Bi Shih

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