> open /dev/foo
> request_module(foo)
> load foo, mark !MOD_USED_ONCE.
Another process:
open /dev/foo
MOD_INC_USE_COUNT
mark MOD_USED_ONCE
close /dev/foo
MOD_DEC_USE_COUNT
rmmod -a
kills module
> continue with open, MOD_INC_USE_COUNT(foo), mark MOD_USED_ONCE.
module not loaded
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/