From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933572AbaE3Nwt (ORCPT ); Fri, 30 May 2014 09:52:49 -0400 Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17]:35792 "EHLO qmta10.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932299AbaE3Nwr (ORCPT ); Fri, 30 May 2014 09:52:47 -0400 Date: Fri, 30 May 2014 08:52:42 -0500 (CDT) From: Christoph Lameter To: Frederic Weisbecker cc: Andrew Morton , Gilad Ben-Yossef , Thomas Gleixner , Tejun Heo , John Stultz , 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, Mike Frysinger , Minchan Kim Subject: Re: [PATCH] vmstat: on demand updates from differentials V7 In-Reply-To: <20140530000610.GB25555@localhost.localdomain> Message-ID: References: <20140530000610.GB25555@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, 30 May 2014, Frederic Weisbecker wrote: > > + cpu_stat_off = kmalloc(cpumask_size(), GFP_KERNEL); > > + cpumask_copy(cpu_stat_off, cpu_online_mask); > > Actually looks like you can as well remove that cpumask and use > cpu_online_mask directly. That would mean I would offline cpus that do not need the vmstat worker?