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

David Brownell
2006-06-15T01:46:55Z

On Wednesday 14 June 2006 4:57 pm, Pavel Machek wrote:

> My point is that you really want the console enabled in writing phase
> of suspend-to-disk.

Notice how nicely this generalizes a point that's been made before:
Linux should have the ability to exclude certain devices (and their
parents) from that first "prepare to suspend" phase. Originally the
canonical example was the swap device (and its disk, controller, bus
tree, etc). Now we recognize consoles (and their parents, network
controllers, etc) have the same issue ...

Of course using such a mechanism would call for a bit of rework in
swsusp and str code, as well as implementing that exclusion mechanism.

- Dave