Skip to content

lib/lwq: fixes for test module hang and unload

Josh Law lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/lwq: fix potential kthread_stop() hang in testlib/lwq.c+4 -10 replies
2/2lib/lwq: add missing module_exit for test modulelib/lwq.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1