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


Groups > linux.kernel > #1487347

[RFC PATCH v2 0/5] futex: Introducing throughput-optimized futexes

From Waiman Long <Waiman.Long@hpe.com>
Newsgroups linux.kernel
Subject [RFC PATCH v2 0/5] futex: Introducing throughput-optimized futexes
Date 2016-09-20 15:50 +0200
Message-ID <sjtAR-3Al-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


 v1->v2:
  - Adds an explicit lock hand-off mechanism.
  - Adds timeout support.
  - Simplifies the required userspace code.
  - Fixes a number of problems in the v1 code.

This patchset introduces a new futex implementation called
throughput-optimized (TO) futexes. It is similar to PI futexes in its
calling convention, but provides better throughput than the wait-wake
futexes by encouraging lock stealing and optimistic spinning.

Waiman Long (5):
  futex: Add futex_set_timer() helper function
  futex: Rename futex_pi_state to futex_state
  futex: Throughput-optimized (TO) futexes
  futex: Add timeout support to TO futexes
  futex, doc: TO futexes document

 Documentation/00-INDEX     |    2 +
 Documentation/to-futex.txt |  140 ++++++++
 include/linux/sched.h      |    4 +-
 include/uapi/linux/futex.h |    4 +
 kernel/futex.c             |  810 +++++++++++++++++++++++++++++++++++++++-----
 5 files changed, 869 insertions(+), 91 deletions(-)
 create mode 100644 Documentation/to-futex.txt

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


Thread

[RFC PATCH v2 0/5] futex: Introducing throughput-optimized futexes Waiman Long <Waiman.Long@hpe.com> - 2016-09-20 15:50 +0200
  [RFC PATCH v2 2/5] futex: Rename futex_pi_state to futex_state Waiman Long <Waiman.Long@hpe.com> - 2016-09-20 15:50 +0200
  [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Waiman Long <Waiman.Long@hpe.com> - 2016-09-20 15:50 +0200
    Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-09-21 09:00 +0200
      Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Peter Zijlstra <peterz@infradead.org> - 2016-09-22 09:50 +0200
        Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 15:40 +0200
          Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Davidlohr Bueso <dave@stgolabs.net> - 2016-09-22 16:50 +0200
            Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 16:50 +0200
              Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Davidlohr Bueso <dave@stgolabs.net> - 2016-09-22 17:20 +0200
                Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 22:50 +0200
                Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Davidlohr Bueso <dave@stgolabs.net> - 2016-09-22 23:40 +0200
                Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 23:50 +0200
          Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 22:30 +0200
    Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes Peter Zijlstra <peterz@infradead.org> - 2016-09-22 15:30 +0200
  [RFC PATCH v2 5/5] futex, doc: TO futexes document Waiman Long <Waiman.Long@hpe.com> - 2016-09-20 15:50 +0200
  [RFC PATCH v2 4/5] futex: Add timeout support to TO futexes Waiman Long <Waiman.Long@hpe.com> - 2016-09-20 15:50 +0200

csiph-web