From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754312AbcITNnX (ORCPT ); Tue, 20 Sep 2016 09:43:23 -0400 Received: from g2t2353.austin.hpe.com ([15.233.44.26]:38068 "EHLO g2t2353.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbcITNnV (ORCPT ); Tue, 20 Sep 2016 09:43:21 -0400 From: Waiman Long To: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Jonathan Corbet Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Davidlohr Bueso , Jason Low , Scott J Norton , Douglas Hatch , Waiman Long Subject: [RFC PATCH v2 0/5] futex: Introducing throughput-optimized futexes Date: Tue, 20 Sep 2016 09:42:38 -0400 Message-Id: <1474378963-15496-1-git-send-email-Waiman.Long@hpe.com> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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