Skip to content
Commit da39ba5e authored by Rusty Russell's avatar Rusty Russell
Browse files

module: don't use stop_machine for waiting rmmod



rmmod has a little-used "-w" option, meaning that instead of failing if the
module is in use, it should block until the module becomes unused.

In this case, we don't need to use stop_machine: Max Krasnyansky
indicated that would be useful for SystemTap which loads/unloads new
modules frequently.

Cc: Max Krasnyansky <maxk@qualcomm.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 93ded9b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment