Received: by 10.213.65.68 with SMTP id h4csp813695imn; Tue, 27 Mar 2018 09:14:00 -0700 (PDT) X-Google-Smtp-Source: AG47ELs07tikmRW+sLAfM+Xu/gdgov/vcw3xK+y2y/RA+mtHRYdMj5PIAR7gXW0rcr7txCE+Mwug X-Received: by 10.99.153.17 with SMTP id d17mr20746252pge.62.1522167240915; Tue, 27 Mar 2018 09:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522167240; cv=none; d=google.com; s=arc-20160816; b=r2dC3O/C5jsEli3Zn7IXNMhBULqeXkr1fTb7jUfqONrlssvFMBJbHAcfS2LZYIBAfO lkm+6ggpV1PgXmrzxhwOMrNQXDcRHGbJ406aXcB6zirMXXtz1z/5z7BH02QDe2i5kujI mv9aRu9QgQmrwSlVwJJuxMQ1UaD/nTVO4Bi6vqzCvI5GVSixljA6K1r6I1WfwT/n2kTL xhyIkrRpfL+S6n76L0AtSUGYCSytFOQZQHmxsFYUARkAYJin2sT9BEG1oItTQAAzlptR 8qkw1YVkMLGPWINnXmwbyA8WhV9xYlALzQX/BvC27fBpak/caSHg0dKXeqJ3kZvGa36T QDOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=PVR5q/8EiJejIVrbEFBswfrCx2fHySomr+JQrtSOoDc=; b=SR4geNhLDuB7I52YfGP0NEAUemL+zJ+iolgJMvkiRrMDUvCzSj65tXDQq33XFbzhR6 yY2PlMbcQtsNLgr/ZIw/bJ1ZJN/2gMaybU7m0duwp+sPXpQZckcmnxptBdxa787o3FjQ SZWe+dHHpBxbujmTvnZCL/LrPz7XeR2mekEyGdwVYORNH+Ij0DAZ5NsZYvgx8/6NaWYy qXxuI8ic5rFVzU47HqiR1U2QzBJG0vmwxzj9OMy415PU1EWQInFHK911g8GEt5miIwYI a9ee2mXJlXr53IGg/JutKCHIO7GCfqNCFjuDCuAGbe6DKFSadf7Tlzovm7br0ZqedDcK 4qRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19-v6si1496381plo.389.2018.03.27.09.13.46; Tue, 27 Mar 2018 09:14:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753104AbeC0QL7 (ORCPT + 99 others); Tue, 27 Mar 2018 12:11:59 -0400 Received: from mail.efficios.com ([167.114.142.138]:51374 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752510AbeC0QGS (ORCPT ); Tue, 27 Mar 2018 12:06:18 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 21BBB1A506D; Tue, 27 Mar 2018 12:06:18 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail02.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id TuI7q27r3-Bw; Tue, 27 Mar 2018 12:06:17 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id C07F31A5055; Tue, 27 Mar 2018 12:06:17 -0400 (EDT) X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail02.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Tx6elQw2juCb; Tue, 27 Mar 2018 12:06:17 -0400 (EDT) Received: from thinkos.internal.efficios.com (192-222-157-41.qc.cable.ebox.net [192.222.157.41]) by mail.efficios.com (Postfix) with ESMTPSA id 674241A5042; Tue, 27 Mar 2018 12:06:17 -0400 (EDT) From: Mathieu Desnoyers To: Peter Zijlstra , "Paul E . McKenney" , Boqun Feng , Andy Lutomirski , Dave Watson Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Paul Turner , Andrew Morton , Russell King , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Andrew Hunter , Andi Kleen , Chris Lameter , Ben Maurer , Steven Rostedt , Josh Triplett , Linus Torvalds , Catalin Marinas , Will Deacon , Michael Kerrisk , Mathieu Desnoyers Subject: [RFC PATCH for 4.17 04/21] arm: Wire up restartable sequences system call Date: Tue, 27 Mar 2018 12:05:25 -0400 Message-Id: <20180327160542.28457-5-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180327160542.28457-1-mathieu.desnoyers@efficios.com> References: <20180327160542.28457-1-mathieu.desnoyers@efficios.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wire up the rseq system call on 32-bit ARM. This provides an ABI improving the speed of a user-space getcpu operation on ARM by skipping the getcpu system call on the fast path, as well as improving the speed of user-space operations on per-cpu data compared to using load-linked/store-conditional. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter CC: Peter Zijlstra CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: Ben Maurer CC: Steven Rostedt CC: "Paul E. McKenney" CC: Josh Triplett CC: Linus Torvalds CC: Andrew Morton CC: Boqun Feng CC: linux-api@vger.kernel.org --- arch/arm/tools/syscall.tbl | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl index 0bb0e9c6376c..fbc74b5fa3ed 100644 --- a/arch/arm/tools/syscall.tbl +++ b/arch/arm/tools/syscall.tbl @@ -412,3 +412,4 @@ 395 common pkey_alloc sys_pkey_alloc 396 common pkey_free sys_pkey_free 397 common statx sys_statx +398 common rseq sys_rseq -- 2.11.0