Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032310AbbKFHpS (ORCPT ); Fri, 6 Nov 2015 02:45:18 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:42316 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032049AbbKFHpQ (ORCPT ); Fri, 6 Nov 2015 02:45:16 -0500 Date: Fri, 6 Nov 2015 08:45:10 +0100 From: Peter Zijlstra To: Jacob Pan Cc: Thomas Gleixner , LKML , Arjan van de Ven , Paul Turner , Len Brown , Srinivas Pandruvada , Tim Chen , Andi Kleen , Rafael Wysocki Subject: Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection Message-ID: <20151106074510.GM3604@twins.programming.kicks-ass.net> References: <1446509428-5616-1-git-send-email-jacob.jun.pan@linux.intel.com> <1446509428-5616-4-git-send-email-jacob.jun.pan@linux.intel.com> <20151103133120.GD17308@twins.programming.kicks-ass.net> <20151105135952.GE11639@twins.programming.kicks-ass.net> <20151105153625.25fbfe69@icelake> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151105153625.25fbfe69@icelake> 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: 808 Lines: 17 On Thu, Nov 05, 2015 at 03:36:25PM -0800, Jacob Pan wrote: > I did some testing with the code below, it shows random > [ 150.442597] NOHZ: local_softirq_pending 02 > [ 153.032673] NOHZ: local_softirq_pending 202 > [ 153.203785] NOHZ: local_softirq_pending 202 > [ 153.206486] NOHZ: local_softirq_pending 282 > I recalled that was why i checked for local_softirq_pending in the > initial patch, still trying to find out how we can avoid that. These > also causes non stop sched ticks in the inner idle loop. Check the softirq stuff before calling throttle ? -- 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/