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. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Resend with the relevant recipients added from file history and blame.
- Add Neil Brown and Andrew Morton to To:.
- Add Chuck Lever and [email protected] to Cc:.
- No code changes.

Patches in v2 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 v2 yet.

Read the v2 thread

Cover letter [PATCH v2 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.

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 [email protected] 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(-)
Signature · 1 line
2.34.1