From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Question about process freezing Date: Wed, 21 Nov 2007 14:58:07 +0100 Message-ID: <200711211458.08243.rjw@sisk.pl> References: <4743E252.2010805@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4743E252.2010805@gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Wednesday, 21 of November 2007, Franck Bui-Huu wrote: > Alan Stern wrote: > > On Tue, 20 Nov 2007, Franck Bui-Huu wrote: > >> Instead of freezing every single user land processes by sending them a > >> fake signal and waiting for them to go to the refrigerator, why not > >> freezing the scheduler ? > > > > Because processes can't simply be frozen immediately. They need to > > have a chance to release any important locks or mutexes they may be > > holding. > > > > You mean any locks held by a frozen process and needed by the suspend > code path ? Yes. Regards, Rafael