From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754535AbaGKN4N (ORCPT ); Fri, 11 Jul 2014 09:56:13 -0400 Received: from qmta04.emeryville.ca.mail.comcast.net ([76.96.30.40]:37484 "EHLO qmta04.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754027AbaGKN4J (ORCPT ); Fri, 11 Jul 2014 09:56:09 -0400 Date: Fri, 11 Jul 2014 08:56:04 -0500 (CDT) From: Christoph Lameter To: Frederic Weisbecker 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 Subject: Re: vmstat: On demand vmstat workers V8 In-Reply-To: <20140711132032.GB26045@localhost.localdomain> Message-ID: References: <20140711132032.GB26045@localhost.localdomain> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by kanga.kvack.org (Postfix) with ESMTP id DAEE26B0035 for ; Fri, 11 Jul 2014 09:56:10 -0400 (EDT) Received: by mail-qc0-f182.google.com with SMTP id r5so176238qcx.13 for ; Fri, 11 Jul 2014 06:56:10 -0700 (PDT) Received: from qmta04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net. [2001:558:fe2d:43:76:96:30:40]) by mx.google.com with ESMTP id l81si3616710qga.1.2014.07.11.06.56.08 for ; Fri, 11 Jul 2014 06:56:09 -0700 (PDT) Date: Fri, 11 Jul 2014 08:56:04 -0500 (CDT) From: Christoph Lameter Subject: Re: vmstat: On demand vmstat workers V8 In-Reply-To: <20140711132032.GB26045@localhost.localdomain> Message-ID: References: <20140711132032.GB26045@localhost.localdomain> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Frederic Weisbecker 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, 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. -- 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