From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by kanga.kvack.org (Postfix) with ESMTP id 39B046B0031 for ; Mon, 23 Sep 2013 11:16:05 -0400 (EDT) Received: by mail-pb0-f45.google.com with SMTP id mc17so3324185pbc.32 for ; Mon, 23 Sep 2013 08:16:04 -0700 (PDT) Date: Mon, 23 Sep 2013 15:10:07 +0000 From: Christoph Lameter Subject: Re: RFC vmstat: On demand vmstat threads In-Reply-To: Message-ID: <000001414b5ebafe-a82f870f-283a-4210-a1d8-4035e2720c4f-000000@email.amazonses.com> 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> <20130920164201.GB30381@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner Cc: Frederic Weisbecker , Andrew Morton , Gilad Ben-Yossef , Tejun Heo , John Stultz , Mike Frysinger , Minchan Kim , Hakan Akkan , Max Krasnyansky , "linux-kernel@vger.kernel.org" , "Paul E. McKenney" , Linux-MM , Peter Zijlstra On Fri, 20 Sep 2013, Thomas Gleixner wrote: > Now when a cpu becomes isolated we stop the callback scheduling on > that cpu and assign it to the cpu with the smallest NUMA > distance. So that cpu will process the data for itself and for the > newly isolated cpu. That is not possible for many percpu threads since they rely on running on a specific cpu for optimization purposes. Running on a different processor makes these threads racy. What is needed is to be able to switch these things off and on. Something on a different cpu may monitor if processing on that specific cpu is needed or not but it cannot perform the vmstat updates. -- 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