From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [RFC][PATCH -mm 6/7] Freezer: Be more verbose Date: Thu, 12 Jul 2007 00:58:08 +0200 Message-ID: <20070711225808.GD11127@elf.ucw.cz> References: <200707120006.50095.rjw@sisk.pl> <200707120016.01454.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200707120016.01454.rjw@sisk.pl> 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: "Rafael J. Wysocki" Cc: Matthew Garrett , pm list , Oleg Nesterov , Miklos Szeredi List-Id: linux-pm@vger.kernel.org On Thu 2007-07-12 00:16:00, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Increase the freezer's verbosity a bit, so that it's easier to read problem > reports related to it. > > Signed-off-by: Rafael J. Wysocki > Acked-by: Pavel Machek Tiny nit: > int freeze_processes(void) > { > - int error; > + int error = 0; You still did not kill that = 0 :-). > - printk("Stopping tasks ... "); > + printk("Freezing user space processes ... "); > error = try_to_freeze_tasks(FREEZER_USER_SPACE); Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html