The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/2] lib/lwq: fixes for test module hang and unload
@ 2026-03-14 23:50 Josh Law
  2026-03-14 23:50 ` [PATCH v2 1/2] lib/lwq: fix potential kthread_stop() hang in test Josh Law
  2026-03-14 23:50 ` [PATCH v2 2/2] lib/lwq: add missing module_exit for test module Josh Law
  0 siblings, 2 replies; 3+ messages in thread
From: Josh Law @ 2026-03-14 23:50 UTC (permalink / raw)
  To: NeilBrown, Andrew Morton; +Cc: Chuck Lever, linux-kernel

This series contains two fixes for the lib/lwq test module:
1. Fix a potential kthread_stop() hang by checking kthread_should_stop()
   inside the wait_var_event() condition.
2. Add a missing module_exit() declaration to allow the test module
   to be unloaded after insertion.

Changes since v1:
  - Resend with the relevant recipients added from file history and blame.
  - Add Neil Brown and Andrew Morton to To:.
  - Add Chuck Lever and linux-kernel@vger.kernel.org to Cc:.
  - No code changes.

Josh Law (2):
  lib/lwq: fix potential kthread_stop() hang in test
  lib/lwq: add missing module_exit for test module

 lib/lwq.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.34.1

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

end of thread, other threads:[~2026-03-14 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 23:50 [PATCH v2 0/2] lib/lwq: fixes for test module hang and unload Josh Law
2026-03-14 23:50 ` [PATCH v2 1/2] lib/lwq: fix potential kthread_stop() hang in test Josh Law
2026-03-14 23:50 ` [PATCH v2 2/2] lib/lwq: add missing module_exit for test module Josh Law

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