From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by kanga.kvack.org (Postfix) with ESMTP id 190606B0031 for ; Tue, 3 Jun 2014 11:43:49 -0400 (EDT) Received: by mail-wi0-f182.google.com with SMTP id r20so6715376wiv.15 for ; Tue, 03 Jun 2014 08:43:46 -0700 (PDT) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [2a00:1450:400c:c03::231]) by mx.google.com with ESMTPS id vr10si33149410wjc.65.2014.06.03.08.43.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 08:43:46 -0700 (PDT) Received: by mail-we0-f177.google.com with SMTP id x48so6898466wes.22 for ; Tue, 03 Jun 2014 08:43:45 -0700 (PDT) Date: Tue, 3 Jun 2014 17:43:42 +0200 From: Frederic Weisbecker Subject: Re: [PATCH] vmstat: on demand updates from differentials V7 Message-ID: <20140603154339.GE23860@localhost.localdomain> References: <20140530000610.GB25555@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: 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 On Fri, May 30, 2014 at 08:52:42AM -0500, Christoph Lameter wrote: > 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? I missed that works adaptively set or clear cpus from the mask. Nevermind, just ignore what I said. -- 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