From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756730AbcIFSxw (ORCPT ); Tue, 6 Sep 2016 14:53:52 -0400 Received: from g2t2353.austin.hpe.com ([15.233.44.26]:48188 "EHLO g2t2353.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755557AbcIFSxt (ORCPT ); Tue, 6 Sep 2016 14:53:49 -0400 X-Greylist: delayed 5439 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Sep 2016 14:53:49 EDT 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 , Scott J Norton , Douglas Hatch , Waiman Long 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> 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 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