|
|
Log in / Subscribe / Register

futex: Introducing throughput-optimized futexes

From:  Waiman Long <Waiman.Long-AT-hpe.com>
To:  Thomas Gleixner <tglx-AT-linutronix.de>, Ingo Molnar <mingo-AT-kernel.org>, Peter Zijlstra <peterz-AT-infradead.org>, Jonathan Corbet <corbet-AT-lwn.net>
Subject:  [RFC PATCH 0/4] futex: Introducing throughput-optimized futexes
Date:  Tue, 6 Sep 2016 14:53:05 -0400
Message-ID:  <1473187989-30402-1-git-send-email-Waiman.Long@hpe.com>
Cc:  linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org, Davidlohr Bueso <dave-AT-stgolabs.net>, Scott J Norton <scott.norton-AT-hpe.com>, Douglas Hatch <doug.hatch-AT-hpe.com>, Waiman Long <Waiman.Long-AT-hpe.com>

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.

The timeout parameter, however, isn't quite working yet. More
investigation will have to be done to see if this can be fixed or
the timeout parameter has to be scrapped entirely.

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

 Documentation/00-INDEX     |    2 +
 Documentation/to-futex.txt |  124 ++++++++
 include/linux/sched.h      |    4 +-
 include/uapi/linux/futex.h |    4 +
 kernel/futex.c             |  675 ++++++++++++++++++++++++++++++++++++++------
 5 files changed, 719 insertions(+), 90 deletions(-)
 create mode 100644 Documentation/to-futex.txt



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds