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:20:13 -0700 Message-ID: <20130503042013.GC16968@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-f172.google.com ([209.85.192.172]:56247 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230Ab3ECEUT (ORCPT ); Fri, 3 May 2013 00:20:19 -0400 Content-Disposition: inline In-Reply-To: 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:17:21PM -0700, Colin Cross wrote: > > And I *hope* the lockdep annotation is stricter than what was added > > before. I think it better be "no lock ever should be held at this > > point" rather than "consider this a big lock". > > The previous patch (6aa9707099c4b25700940eb3d016f16c4434360d in Linus' > tree) already required that no locks be held, it wasn't using a lock > annotation. Ooh, cool. Thanks for the pointer. Forget about my rambling and let's just add an unsafe version of try_to_freeze() and be done with it. :) -- tejun