From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by kanga.kvack.org (Postfix) with ESMTP id B972F6B0035 for ; Fri, 11 Jul 2014 09:59:05 -0400 (EDT) Received: by mail-wi0-f177.google.com with SMTP id ho1so1420324wib.10 for ; Fri, 11 Jul 2014 06:59:04 -0700 (PDT) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [2a00:1450:400c:c00::22a]) by mx.google.com with ESMTPS id cr6si4240295wjb.64.2014.07.11.06.59.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 06:59:04 -0700 (PDT) Received: by mail-wg0-f42.google.com with SMTP id l18so1101588wgh.25 for ; Fri, 11 Jul 2014 06:59:02 -0700 (PDT) Date: Fri, 11 Jul 2014 15:58:56 +0200 From: Frederic Weisbecker Subject: Re: vmstat: On demand vmstat workers V8 Message-ID: <20140711135854.GD26045@localhost.localdomain> References: <20140711132032.GB26045@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: akpm@linux-foundation.org, Gilad Ben-Yossef , Thomas Gleixner , Tejun Heo , John Stultz , Mike Frysinger , Minchan Kim , Hakan Akkan , Max Krasnyansky , "Paul E. McKenney" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, hughd@google.com, viresh.kumar@linaro.org, hpa@zytor.com, mingo@kernel.org, peterz@infradead.org On Fri, Jul 11, 2014 at 08:56:04AM -0500, Christoph Lameter wrote: > On Fri, 11 Jul 2014, Frederic Weisbecker wrote: > > > > @@ -1228,20 +1244,105 @@ static const struct file_operations proc > > > #ifdef CONFIG_SMP > > > static DEFINE_PER_CPU(struct delayed_work, vmstat_work); > > > int sysctl_stat_interval __read_mostly = HZ; > > > +struct cpumask *cpu_stat_off; > > > > I thought you converted it? > > Converted what? We still need to keep a cpumask around that tells us which > processor have vmstat running and which do not. > Converted to cpumask_var_t. I mean we spent dozens emails on that... -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org