public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pcmcia: release_class patch concern
@ 2005-06-28  4:56 Dmitry Torokhov
  2005-06-28  6:14 ` Dominik Brodowski
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2005-06-28  4:56 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: LKML, linux-pcmcia

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-28  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-28  4:56 pcmcia: release_class patch concern Dmitry Torokhov
2005-06-28  6:14 ` Dominik Brodowski
2005-06-28  6:41   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox