From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by kanga.kvack.org (Postfix) with ESMTP id 3A7FA6B0031 for ; Fri, 20 Sep 2013 06:41:24 -0400 (EDT) Received: by mail-pd0-f178.google.com with SMTP id w10so226240pde.23 for ; Fri, 20 Sep 2013 03:41:23 -0700 (PDT) Date: Fri, 20 Sep 2013 12:41:02 +0200 (CEST) From: Thomas Gleixner Subject: Re: RFC vmstat: On demand vmstat threads In-Reply-To: <000001413796641f-017482d3-1194-499b-8f2a-d7686c1ae61f-000000@email.amazonses.com> Message-ID: References: <00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com> <0000014109b8e5db-4b0f577e-c3b4-47fe-b7f2-0e5febbcc948-000000@email.amazonses.com> <20130918150659.5091a2c3ca94b99304427ec5@linux-foundation.org> <000001413796641f-017482d3-1194-499b-8f2a-d7686c1ae61f-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Andrew Morton , Gilad Ben-Yossef , Tejun Heo , John Stultz , Mike Frysinger , Minchan Kim , Hakan Akkan , Max Krasnyansky , Frederic Weisbecker , "linux-kernel@vger.kernel.org" , "Paul E. McKenney" , Linux-MM On Thu, 19 Sep 2013, Christoph Lameter wrote: > On Thu, 19 Sep 2013, Thomas Gleixner wrote: > > > The vmstat accounting is not the only thing which we want to delegate > > to dedicated core(s) for the full NOHZ mode. > > > > So instead of playing broken games with explicitly not exposed core > > code variables, we should implement a core code facility which is > > aware of the NOHZ details and provides a sane way to delegate stuff to > > a certain subset of CPUs. > > I would be happy to use such a facility. Otherwise I would just be adding > yet another kernel option or boot parameter I guess. Uuurgh, no. The whole delegation stuff is necessary not just for vmstat. We have the same issue for scheduler stats and other parts of the kernel, so we are better off in having a core facility to schedule such functions in consistency with the current full NOHZ state. Thanks, tglx -- 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