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

Benjamin Herrenschmidt
2006-06-22T03:21:54Z

> That may be enough for whatever you had in mind (adding notification of
> each phase seems to be a bit overkill).

Maybe... I was also thinking that to avoid a whole bunch of problems, we
could make get_free_pages() silently add GFP_NOIO to GFP_KERNEL after we
have started suspending devices.

Early notification (what I call prepare() and finish()) is useful is the
driver need to actively talk to userland, or preload things like
firmwares, etc... though.

Ben.