Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751673AbaKILEU (ORCPT ); Sun, 9 Nov 2014 06:04:20 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:59830 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbaKILES (ORCPT ); Sun, 9 Nov 2014 06:04:18 -0500 MIME-Version: 1.0 In-Reply-To: <20141109005124.GG4901@linux.vnet.ibm.com> References: <20141108094717.9388.34638.stgit@zurg> <20141108221347.GF4901@linux.vnet.ibm.com> <20141109005124.GG4901@linux.vnet.ibm.com> Date: Sun, 9 Nov 2014 15:04:16 +0400 Message-ID: Subject: Re: [PATCH] ACPI/osl: speedup grace period in acpi_os_map_cleanup From: Konstantin Khlebnikov To: Paul McKenney Cc: Alexander Monakov , linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Linux Kernel Mailing List , Len Brown , Tom Boshoven , "x86@kernel.org" , Josh Triplett Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 9, 2014 at 3:51 AM, Paul E. McKenney wrote: > On Sun, Nov 09, 2014 at 03:24:34AM +0400, Alexander Monakov wrote: >> On Sun, Nov 9, 2014 at 1:13 AM, Paul E. McKenney >> wrote: >> > >> > Did anyone try replacing the synchronize_rcu() with >> > synchronize_rcu_expedited()? That should provide substantial speedups >> > over synchronize_rcu(). >> >> I've just briefly tested it on my laptop, and it also helps to avoid the issue. > > OK, good. > > In the past, synchronize_rcu_expedited() has been a bit unfriendly to > battery-powered platforms and to real-time and HPC workloads, but > recent changes for the most part fix this. Good. In this way patch is much smaller. This code shouldn't be used too frequently, so overhead isn't so much important here. > > Thanx, Paul > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/