From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 2/2] Fix console handling during suspend/resume Date: Thu, 22 Jun 2006 13:21:54 +1000 Message-ID: <1150946514.947.53.camel@localhost.localdomain> References: <1150938119.16303.99.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Linus Torvalds Cc: David Brownell , linux-pm@lists.osdl.org, Pavel Machek List-Id: linux-pm@vger.kernel.org > 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.