Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755586Ab3DZXBd (ORCPT ); Fri, 26 Apr 2013 19:01:33 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:39671 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321Ab3DZXBc (ORCPT ); Fri, 26 Apr 2013 19:01:32 -0400 MIME-Version: 1.0 In-Reply-To: <20130426162214.GB30716@somewhere> References: <1366988007-30665-1-git-send-email-fweisbec@gmail.com> <1366988007-30665-2-git-send-email-fweisbec@gmail.com> <20130426153956.GB3860@linux.vnet.ibm.com> <20130426162214.GB30716@somewhere> Date: Sat, 27 Apr 2013 01:01:30 +0200 Message-ID: Subject: Re: [PATCH 1/2] nohz: Select VIRT_CPU_ACCOUNTING_GEN from full dynticks config From: Frederic Weisbecker To: "Paul E. McKenney" , Ingo Molnar Cc: LKML , Christoph Lameter , Hakan Akkan , Kevin Hilman , Li Zhong , Paul Gortmaker , Peter Zijlstra , Steven Rostedt , Thomas Gleixner Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1334 Lines: 32 2013/4/26 Frederic Weisbecker : > On Fri, Apr 26, 2013 at 08:39:56AM -0700, Paul E. McKenney wrote: >> > config VIRT_CPU_ACCOUNTING_GEN >> > bool "Full dynticks CPU time accounting" >> > - depends on HAVE_CONTEXT_TRACKING && 64BIT >> > + depends on HAVE_CONTEXT_TRACKING && 64BIT && NO_HZ_FULL >> >> Do you really want this change? This prohibits VIRT_CPU_ACCOUNTING_GEN >> unless NO_HZ_FULL, which means that it can no longer be used in situations >> where it used to be usable. My guess is that you want to leave this >> particular line as it was. > > Hmm, this can make sense. This can be used to perform comparisons between > tick-based and tickless cputime accounting easily. > > I'll respin. So Ingo please pull "timers/nohz-v2" instead. It does the same but keeps VIRT_CPU_ACCOUNTING_GEN available even without full dynticks (could be useful when users need something more precise than tick based cputime accounting.) HEAD is 8c23b80ec7f1f5405f07bb56c2f8378800ecf401 If you've already pulled the previous branch I'll make a delta instead. Thanks. -- 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/