Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754350Ab3HPQzx (ORCPT ); Fri, 16 Aug 2013 12:55:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59012 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752518Ab3HPQzu (ORCPT ); Fri, 16 Aug 2013 12:55:50 -0400 Date: Fri, 16 Aug 2013 18:49:22 +0200 From: Oleg Nesterov To: Frederic Weisbecker Cc: Ingo Molnar , Thomas Gleixner , LKML , Fernando Luis Vazquez Cao , Tetsuo Handa , Peter Zijlstra , Andrew Morton , Arjan van de Ven Subject: Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock Message-ID: <20130816164922.GA1573@redhat.com> References: <1376667753-29014-1-git-send-email-fweisbec@gmail.com> <1376667753-29014-3-git-send-email-fweisbec@gmail.com> <20130816160201.GA31682@redhat.com> <20130816162056.GE24210@somewhere> <20130816162654.GA453@redhat.com> <20130816164626.GH24210@somewhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130816164626.GH24210@somewhere> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 18 On 08/16, Frederic Weisbecker wrote: > > tick_nohz_stop_idle() to iowait if we called tick_nohz_start_idle() with nr_iowait > 0. > All we need is just a new field in ts-> that records on which state we entered > idle. Or we can turn ->idle_active into enum. And all other nr_iowait_cpu's in this code should go away. Personally I am fine either way. Oleg. -- 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/