Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760132Ab2BNNwZ (ORCPT ); Tue, 14 Feb 2012 08:52:25 -0500 Received: from merlin.infradead.org ([205.233.59.134]:36926 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755380Ab2BNNwY convert rfc822-to-8bit (ORCPT ); Tue, 14 Feb 2012 08:52:24 -0500 Message-ID: <1329227537.2293.1.camel@twins> Subject: Re: [RFC] Extend mwait idle to optimize away IPIs when possible From: Peter Zijlstra To: Yong Zhang Cc: Venki Pallipadi , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Suresh Siddha , Aaron Durbin , Paul Turner , linux-kernel@vger.kernel.org Date: Tue, 14 Feb 2012 14:52:17 +0100 In-Reply-To: <20120213053410.GB24636@zhy> References: <1328560933-3037-1-git-send-email-venki@google.com> <1328901567.25989.51.camel@laptop> <20120213053410.GB24636@zhy> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- 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: 15 On Mon, 2012-02-13 at 13:34 +0800, Yong Zhang wrote: > Yeah, most of the things could be shared. Such as the added logic when > return from idle and the hooks into ttwu_queue_remote() and > generic_exec_single(). > The thing is, those last two should not have hooks. Nor am I convinced anything outside of the arch idle loop should have any. -- 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/