From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753530Ab1LFTW7 (ORCPT ); Tue, 6 Dec 2011 14:22:59 -0500 Received: from mga01.intel.com ([192.55.52.88]:59037 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752598Ab1LFTW6 (ORCPT ); Tue, 6 Dec 2011 14:22:58 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,307,1320652800"; d="scan'208";a="93031482" Subject: Re: [patch v3 3/6] sched, nohz: sched group, domain aware nohz idle load balancing From: Suresh Siddha Reply-To: Suresh Siddha To: Srivatsa Vaddagiri Cc: Peter Zijlstra , Ingo Molnar , Venki Pallipadi , Mike Galbraith , linux-kernel , Tim Chen , "Shi, Alex" Date: Tue, 06 Dec 2011 11:27:17 -0800 In-Reply-To: References: <20111202010731.344451602@sbsiddha-desk.sc.intel.com> <20111202010832.602203411@sbsiddha-desk.sc.intel.com> <20111206063736.GA18040@linux.vnet.ibm.com> Organization: Intel Corp Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.3 (3.0.3-1.fc15) Content-Transfer-Encoding: 7bit Message-ID: <1323199637.1984.19.camel@sbsiddha-desk.sc.intel.com> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-12-06 at 11:19 -0800, Suresh Siddha wrote: > From: Suresh Siddha > Subject: sched, nohz: fix the idle cpu check in nohz_idle_balance > > cpu bit in the nohz.idle_cpu_mask are reset in the first busy tick after > exiting idle. So during nohz_idle_balance(), intention is to double > check if the cpu that is part of the idle_cpu_mask is indeed idle before > going ahead in performing idle balance for that cpu. > > Fix the cpu typo in the idle_cpu() check during nohz_idle_balance(). > > Signed-off-by: Suresh Siddha Should have added: Reported-by: Srivatsa Vaddagiri