From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v2 03/10] freezer: add new freezable helpers using freezer_do_not_count() Date: Thu, 2 May 2013 21:12:08 -0700 Message-ID: <20130503041208.GB16968@mtj.dyndns.org> References: <1367458508-9133-1-git-send-email-ccross@android.com> <1367458508-9133-4-git-send-email-ccross@android.com> <20130502235505.GW19814@mtj.dyndns.org> <20130503000358.GX19814@mtj.dyndns.org> <20130503040934.GA16968@mtj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pd0-f178.google.com ([209.85.192.178]:37005 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777Ab3ECEMN (ORCPT ); Fri, 3 May 2013 00:12:13 -0400 Content-Disposition: inline In-Reply-To: <20130503040934.GA16968@mtj.dyndns.org> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Colin Cross Cc: Linux PM list , lkml , "Rafael J. Wysocki" , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Oleg Nesterov , Len Brown , Pavel Machek , Jeff Layton , Mandeep Baines On Thu, May 02, 2013 at 09:09:34PM -0700, Tejun Heo wrote: > But that conflicts with what you're doing here which seems pretty > useful, so, to satisfy both goals, when somebody needs to put a > pseudo-frozen task into the actual frozen jobctl stop, those spots > which are currently using try_to_stop() would have to return an error, > most likely -EINTR with TIF_SIGPENDING set, and the control should Let's make that -ERESTART*. -- tejun