Skip to contentSkip to conversation

the troublesome spawn of demons

DISCUSSION Oliver Neukum 1 participant 2 messages Jun 3, 2002

lore
Share & tools
lore
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel