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


Groups > linux.kernel > #1443679 > unrolled thread

[PATCH 0/2] locking/percpu-rwsem: Optimizations/tweaks

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-07-14 20:40 +0200
Last post2016-07-14 20:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] locking/percpu-rwsem: Optimizations/tweaks Peter Zijlstra <peterz@infradead.org> - 2016-07-14 20:40 +0200

#1443679 — [PATCH 0/2] locking/percpu-rwsem: Optimizations/tweaks

FromPeter Zijlstra <peterz@infradead.org>
Date2016-07-14 20:40 +0200
Subject[PATCH 0/2] locking/percpu-rwsem: Optimizations/tweaks
Message-ID<rUTIe-4Mw-13@gated-at.bofh.it>
As reported by John and Dmitry, Android tickles bad behaviour in
cgroup_threadgroup_rwsem.

These two patches attempt to address the issue by optimizing the percpu-rwsem
slow path and second add a bias knob to the percpu-rwsem that allows disabling
the fast path which improves writer latency by getting rid of a
synchronize_sched() call.

---
 fs/super.c                    |   3 +-
 include/linux/percpu-rwsem.h  |  96 +++++++++++++++--
 kernel/cgroup.c               |   2 +-
 kernel/locking/percpu-rwsem.c | 246 +++++++++++++++++++++++++-----------------
 4 files changed, 239 insertions(+), 108 deletions(-)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web