[PATCH v2 0/2] lib/lwq: fixes for test module hang and unload
From: Josh Law
Date: Sat Mar 14 2026 - 19:51:02 EST
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@xxxxxxxxxxxxxxx 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