Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932333Ab2EOO0q (ORCPT ); Tue, 15 May 2012 10:26:46 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:45535 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757431Ab2EOO0p (ORCPT ); Tue, 15 May 2012 10:26:45 -0400 Date: Tue, 15 May 2012 10:26:43 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Bojan Smojver cc: "Srivatsa S. Bhat" , "Rafael J. Wysocki" , Linux PM list , Kernel development list , Subject: Re: [PATCH]: In kernel hibernation, suspend to both In-Reply-To: <1337039996.1628.9.camel@shrek.rexursive.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 23 On Tue, 15 May 2012, Bojan Smojver wrote: > Alan/Srivatsa, > > Coming back to the explanation of how this whole thing works, it would > seem that at the point of image writing all devices are fully functional > (not just some, as I mistakenly believed). However, the processes are > supposed to be already frozen, right? Calling suspend_prepare(), which > will essentially try to freeze the processes and kernel threads, seems > like the wrong thing to do. > > Did you guys mean that we should be calling > pm_notifier_call_chain(PM_SUSPEND_PREPARE) only here? It looks like you've got this all figured out now. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/