From mboxrd@z Thu Jan 1 00:00:00 1970 From: Franck Bui-Huu Subject: Re: Question about process freezing Date: Wed, 21 Nov 2007 08:46:26 +0100 Message-ID: <4743E252.2010805@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Alan Stern Cc: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org 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 ? thanks, Franck