From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755389AbcIETmQ (ORCPT ); Mon, 5 Sep 2016 15:42:16 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:35667 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755262AbcIETmK (ORCPT ); Mon, 5 Sep 2016 15:42:10 -0400 Message-Id: <20160905194054.369038779@infradead.org> User-Agent: quilt/0.61-1 Date: Mon, 05 Sep 2016 21:40:54 +0200 From: Peter Zijlstra To: oleg@redhat.com, paulmck@linux.vnet.ibm.com, tj@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, der.herr@hofr.at, peterz@infradead.org, dave@stgolabs.net, riel@redhat.com, viro@ZenIV.linux.org.uk, torvalds@linux-foundation.org, wagi@monom.org Subject: [PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Here are some patches that I've been sitting on for far too long now. They're a respin of earlier work [1], and have been verified by Daniel Wagner to not suffer the regression he measured with the previous set (part of which was operator error). Patches 4 and 5 were needed to solve a (smallish) performance regression on CONFIG_PREEMPT=y. They avoid a number of preemption points (and code). I was going to gather pretty numbers from Daniels data, but I keep putting that off and figured I ought to send the patches already. [1] https://lkml.kernel.org/r/20150622121623.291363374@infradead.org --- Documentation/locking/lglock.txt | 166 --------------------------------------- fs/Kconfig | 1 + fs/locks.c | 68 +++++++++++----- include/linux/lglock.h | 81 ------------------- include/linux/percpu-rwsem.h | 36 +++++++-- kernel/locking/Makefile | 1 - kernel/locking/lglock.c | 111 -------------------------- kernel/stop_machine.c | 42 ++++++---- 8 files changed, 107 insertions(+), 399 deletions(-)