From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753253AbbC0Tpp (ORCPT ); Fri, 27 Mar 2015 15:45:45 -0400 Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:36147 "EHLO resqmta-ch2-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752421AbbC0Tpl (ORCPT ); Fri, 27 Mar 2015 15:45:41 -0400 Date: Fri, 27 Mar 2015 14:45:36 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Peter Zijlstra cc: Viresh Kumar , Andrew Morton , hannes@cmpxchg.org, Linaro Kernel Mailman List , Linux Kernel Mailing List , vinmenon@codeaurora.org, shashim@codeaurora.org, Michal Hocko , mgorman@suse.de, dave@stgolabs.net, koct9i@gmail.com, Linux Memory Management List , Suresh Siddha , Thomas Gleixner Subject: Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work In-Reply-To: <20150327120240.GC23123@twins.programming.kicks-ass.net> Message-ID: References: <359c926bc85cdf79650e39f2344c2083002545bb.1427347966.git.viresh.kumar@linaro.org> <20150326131822.fce6609efdd85b89ceb3f61c@linux-foundation.org> <20150327091613.GE27490@worktop.programming.kicks-ass.net> <20150327093023.GA32047@worktop.ger.corp.intel.com> <20150327120240.GC23123@twins.programming.kicks-ass.net> 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, 27 Mar 2015, Peter Zijlstra wrote: > On Fri, Mar 27, 2015 at 06:11:44AM -0500, Christoph Lameter wrote: > > > > Create a new slab cache for this purpose that does the proper aligning? > > That is certainly a possibility, but we'll only ever allocate nr_cpus-1 > entries from it, a whole new slab cache might be overkill. This will certainly be aliased to some other slab cache so not much overhead is created.