Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758674AbcDEMtp (ORCPT ); Tue, 5 Apr 2016 08:49:45 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36019 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758086AbcDEMtm (ORCPT ); Tue, 5 Apr 2016 08:49:42 -0400 Message-ID: <1459860578.7776.0.camel@gmail.com> Subject: [rfc patch 0/2] Kill hotplug_lock()/hotplug_unlock() From: Mike Galbraith To: Sebastian Andrzej Siewior Cc: Thomas Gleixner , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Peter Zijlstra Date: Tue, 05 Apr 2016 14:49:38 +0200 In-Reply-To: <1459566735.3779.36.camel@gmail.com> References: <1455318168-7125-1-git-send-email-bigeasy@linutronix.de> <1455318168-7125-4-git-send-email-bigeasy@linutronix.de> <1458463425.3908.5.camel@gmail.com> <1458814024.23732.35.camel@gmail.com> <1459405903.14336.64.camel@gmail.com> <20160401211105.GE29603@linutronix.de> <1459566735.3779.36.camel@gmail.com> 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 Content-Length: 866 Lines: 17 This is my stab at whacking $subject without adding any duct tape. My desktop box has run a thousand iterations of Steven's hotplug stress script accompanied with stockfish, futextest, hackbench and tbench to give hotplug lots of opportunity to prove this broken. So far, it has failed. 64 core DL980 is nowhere near as quick at iteration increment, but has been happily chugging along all the while. Patches are against 4.6-rc2-rt13. Barring any frozen projectiles lobbed by either humans or hotplug, I'll see what a backport to 4.4-rt would look like. This one has lots of minus signs. patch1: kernel/cpu.c | 267 ++++++++++------------------------------------------------- 1 file changed, 47 insertions(+), 220 deletions(-) patch2: kernel/locking/rtmutex.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-)