Discussion:
[RFC] Add a feature to list which processes use (hold a ref to) kernel module
Andrey Utkin
2014-06-20 09:42:44 UTC
Permalink
There are smart answers around for the question "how to see which
processes use module and prohibid rmmod from working", like this one:
http://stackoverflow.com/a/15494206
But there is no easy way to check it "just in time", i.e. you have no
special debug settings set up, and you just want to know which
processes make module's refcnt positive.

Would such feature be considered useful? If yes, then also
guidance/mentorship would be appreciated (i am not experienced in
kernel development).
--
Andrey Utkin
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Loading...