[PATCH v1 0/2] lib/lwq: fixes for test module hang and unload

From: Josh Law

Date: Thu Mar 12 2026 - 18:15:55 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.

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