Re: SET_MODULE_OWNER

From: Martin Diehl (lists@mdiehl.de)
Date: Fri Jul 18 2003 - 07:46:46 EST


On Fri, 18 Jul 2003, Duncan Sands wrote:

> If you want to see what I have in mind, do
> rmmod uhci-hcd
> (or whatever your hcd is). This shows that there was already a problem with
> unloading modules with zero refcount.

Ok, for the hcd you are right. And yes, I'd prefer to see the hcd's use
count getting increased with any interface claimed by an usb client
driver...

With lsmod reporting use count ==0 people might assume the module is
unused and thus rmmod - not much fun if this is beneath a mounted fs.

Martin

PS: I've just tried this - it's even worse: not only would I expect fs
damage, the box is OOPSing and BUGging like hell :-(
I'll take this to linux-usb-devel.

-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:33 EST