Re: [PATCH 2/2] Fix console handling during suspend/resume

David Brownell
2006-06-22T02:21:15Z

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.

- Dave