Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757155Ab2BPDcm (ORCPT ); Wed, 15 Feb 2012 22:32:42 -0500 Received: from gate.crashing.org ([63.228.1.57]:60231 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756712Ab2BPDcl (ORCPT ); Wed, 15 Feb 2012 22:32:41 -0500 Message-ID: <1329363097.3772.46.camel@pasglop> Subject: Re: [PATCH RFC 0/4] Scheduler idle notifiers and users From: Benjamin Herrenschmidt To: Peter Zijlstra Cc: Russell King - ARM Linux , Saravana Kannan , Ingo Molnar , linaro-kernel@lists.linaro.org, Nicolas Pitre , Oleg Nesterov , cpufreq@vger.kernel.org, linux-kernel@vger.kernel.org, Anton Vorontsov , "Paul E. McKenney" , Mike Chan , Dave Jones , Todd Poynor , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, Arjan Van De Ven , Thomas Gleixner Date: Thu, 16 Feb 2012 14:31:37 +1100 In-Reply-To: <1329318063.2293.136.camel@twins> References: <20120208013959.GA24535@panacea> <1328670355.2482.68.camel@laptop> <20120208202314.GA28290@redhat.com> <1328736834.2903.33.camel@pasglop> <20120209075106.GB18387@elte.hu> <4F35DD3E.4020406@codeaurora.org> <20120211144530.GA497@elte.hu> <4F3AEC4E.9000303@codeaurora.org> <1329313085.2293.106.camel@twins> <20120215140245.GB27825@n2100.arm.linux.org.uk> <1329318063.2293.136.camel@twins> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 17 On Wed, 2012-02-15 at 16:01 +0100, Peter Zijlstra wrote: > > Thing is, the scheduler doesn't care about completion, all it needs is > to be able to kick-start the thing atomically. So you really have to > wait for it or can you do an interrupt driven state machine? Or the scheduler callback could schedule a wq to do the job ? Cheers, Ben. -- 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/