Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1476915

[PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks
Date 2016-09-05 21:50 +0200
Message-ID <se841-89I-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  [PATCH 5/7] fs/locks: Use percpu_down_read_preempt_disable Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  [PATCH 6/7] stop_machine: Remove stop_cpus_lock and lg_double_lock/unlock() Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  [PATCH 1/7] percpu-rwsem: DEFINE_STATIC_PERCPU_RWSEM Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  [PATCH 7/7] locking: Remove lglock Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  [PATCH 3/7] fs/locks: Replace lg_local with a per-cpu spinlock Peter Zijlstra <peterz@infradead.org> - 2016-09-05 21:50 +0200
  Re: [PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-09-06 06:50 +0200

csiph-web