Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755557AbbBCLGg (ORCPT ); Tue, 3 Feb 2015 06:06:36 -0500 Received: from casper.infradead.org ([85.118.1.10]:36390 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000AbbBCLGf (ORCPT ); Tue, 3 Feb 2015 06:06:35 -0500 Date: Tue, 3 Feb 2015 12:06:30 +0100 From: Peter Zijlstra To: NeilBrown Cc: Mikulas Patocka , Zdenek Kabelac , tglx@linutronix.de, ilya.dryomov@inktank.com, umgwanakikbuti@gmail.com, Oleg Nesterov , Ingo Molnar , dm-devel@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Remove might_sleep from wait_event_cmd Message-ID: <20150203110630.GK26304@twins.programming.kicks-ass.net> References: <20150203091253.60ded1d7@notabene.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150203091253.60ded1d7@notabene.brown> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 646 Lines: 16 On Tue, Feb 03, 2015 at 09:12:53AM +1100, NeilBrown wrote: > I support this patch. It should hopefully already be en-route to tip. > However in case it doesn't get in, I've queued up a patch to change raid5.c > to use __wait_event_cmd instead... So those primitives are useful in their own; their typical use would be when you already know @cond to be false and want to avoid the extra invocation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/