Messages in this thread |  | | | From | Dmitry Torokhov <> | | Subject | pcmcia: release_class patch concern | | Date | Mon, 27 Jun 2005 23:56:49 -0500 |
| |
Hi Dominik,
I noticed that Linus committed the patch from you that introduces waiting for completion in module's exit routine. I believe it is a big no-no as something like this will wedge the kernel:
rmmod <module> < /sys/path/to/devices/attribute
Have you considered using Greg's class_create()/class_destroy() or maybe bumping up module's refrerence count when registering class devices so rmmod would fail if there are users of this module?
-- Dmitry - 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/
|  |