From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753860AbcAWQWC (ORCPT ); Sat, 23 Jan 2016 11:22:02 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37405 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751921AbcAWQWA (ORCPT ); Sat, 23 Jan 2016 11:22:00 -0500 Message-ID: <1453566115.3529.8.camel@gmail.com> Subject: fast path cycle muncher (vmstat: make vmstat_updater deferrable again and shut down on idle) From: Mike Galbraith To: Christoph Lameter Cc: Peter Zijlstra , LKML Date: Sat, 23 Jan 2016 17:21:55 +0100 In-Reply-To: References: <569FAC90.5030407@oracle.com> <20160120212806.GA26965@dhcp22.suse.cz> <20160121082402.GA29520@dhcp22.suse.cz> <20160121165148.GF29520@dhcp22.suse.cz> <20160122140418.GB19465@dhcp22.suse.cz> <20160122161201.GC19465@dhcp22.suse.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, While you're fixing that commit up, can you perhaps find a better home for quiet_vmstat()? It not only munches cycles when switching cross -core mightily, for -rt it injects a sleeping lock into the idle task. 12.89% [kernel] [k] refresh_cpu_vm_stats.isra.12 4.75% [kernel] [k] __schedule 4.70% [kernel] [k] mutex_unlock 3.14% [kernel] [k] __switch_to -Mike