linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* the troublesome spawn of demons
@ 2002-06-03 13:30 Oliver Neukum
  2002-06-03 13:40 ` Oliver Neukum
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2002-06-03 13:30 UTC (permalink / raw)
  To: linux-hotplug

Hi,

looking at the swsuspend code, it seems that there's a
race with hotplugging.

The swsuspend code assumes that by stopping all tasks except for
zombies and kernel threads it will assure that no new tasks are spawned.
This is not true as far as hotplugging is concerned.
Comments ?

Perhaps we should introduce an r/w spinlock and register a
power management handler to take it?

	Regards
		Oliver


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: the troublesome spawn of demons
  2002-06-03 13:30 the troublesome spawn of demons Oliver Neukum
@ 2002-06-03 13:40 ` Oliver Neukum
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Neukum @ 2002-06-03 13:40 UTC (permalink / raw)
  To: linux-hotplug


> Perhaps we should introduce an r/w spinlock and register a
> power management handler to take it?

semaphore of course. Sorry.

	Oliver


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2002-06-03 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-03 13:30 the troublesome spawn of demons Oliver Neukum
2002-06-03 13:40 ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).