On Wed, 2006-06-21 at 19:21 -0700, David Brownell wrote: > On Wednesday 21 June 2006 5:15 pm, Benjamin Herrenschmidt wrote: > > Additionally, as I explained earlier, it > > will make everybody's life MUCH easier (especially USB) if we define > > that between prepare() and finish(), no hotplug activity takes place > > (the bus drivers just basically ignore devices being plugged in during > > that phase, or if they can't completely ignore them, at least just leave > > a bit somewhere "need to come back on resume look what's going on > > here"). > > In the USB case, you're basically saying that prepare() should freeze > khubd. I think you've implied elsewhere that not all kernel tasks > should be frozen at that time, though. Yes, but I'm saying that it will just make life easier to everybody if we define that we don't get new devices in while we are in the suspend/resume process. Don't you agree ? Ben.