Received: by 10.223.164.202 with SMTP id h10csp307130wrb; Wed, 22 Nov 2017 07:31:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMZTku8rDJe5Do0ts0TfFZAqY2B3QWmhhFBAjDDJFpeaQV3iljjUVhhLF5VpHu4Z3kmo2ziA X-Received: by 10.101.98.83 with SMTP id q19mr12204515pgv.71.1511364661075; Wed, 22 Nov 2017 07:31:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511364661; cv=none; d=google.com; s=arc-20160816; b=MHoeHj+7ub98snDaWs+i8Lg16YCGNI1dOx662zBlQOCk+LWduQh8n16BBsrVGXUBDD o3M9K/T+MXOOPHYDsOKgRAeCY7kz9VoCeG1OymbEbqcUMI2Dsn/euox4RTwaIRrAVoNr 6hM11T/UYB9KHzM34LjuEq9MUu4VNz1o/r1oeGop/II4HMKN1ofpTRwBfK9eszylltSv MzQhWLpk4CLBsvJneupHpnnfPOf/DyiKZnge75ZsnXvncV6u/PS/SPJ3svKA9gaH2ybV kY5zPT8tA6dlAh4CPVClNEYQfO6Us5+n9z0EF/DyHVbDldkeoW332qVtmKlad2lLbXjp a7lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=7bs6n3oxDz7zCsifMBmkbNdgP/qJBbWGC/LxW0REC7U=; b=QbHi+Hi//CsHQWzGNUIK0bEH/v9Szjrmd3lA7rErlfP020qQVFxzJOPhZdUYcrEaQm 73xBa2gO4gSD3xkT7AD6R2brmkghkqeUm6K3iQtCiffQPaxJbWA8SpxJ6eMo8PdVFyes F1IkWfZaLqeFar9/tT4JBVZB3Jd/x2pXBXeFBS1YgiLfJb1QYYotzjl42wTLm5HKRA4b X9w5KkTKMsV85NlZ9GXZFe7hlyzyqCE/aYGgj6H5EJQRwuawoY6vlMSlXJyxJSkM0dQ+ 4sHPXMVkTDL4C2Rqb4+uc061hEOfr7q3xSZpzDdjOcL0ef5zPlmIMvN13wLIBmf8ieko Jr3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=KB+VVllz; 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 i76si13401727pgc.416.2017.11.22.07.30.49; Wed, 22 Nov 2017 07:31:01 -0800 (PST) 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; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=KB+VVllz; 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 S1751935AbdKVP2q (ORCPT + 77 others); Wed, 22 Nov 2017 10:28:46 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:34125 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460AbdKVP2o (ORCPT ); Wed, 22 Nov 2017 10:28:44 -0500 Received: by mail-it0-f67.google.com with SMTP id m11so10079896iti.1 for ; Wed, 22 Nov 2017 07:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7bs6n3oxDz7zCsifMBmkbNdgP/qJBbWGC/LxW0REC7U=; b=KB+VVllzMqJDjdt18xdYP32Z6Tz9egJ78NQWsMYZDGHBVRSeEWY/fINxQETQ7SlNz1 U1u5n+U03KU2GYxlXkc5nuZ+vSaYaH7bn+7W2Jmv/EaXY+ft0c+3vx8p67Q7g+PWFouT u+B1MTjfM9uTTGsf57It6U6XausO8KoxCKQXz7zrkMkvZN/HpS9bHa0di1OeyaslxjG6 mdf2GQ0H2YzZqqTobr+ao7h269N5PIdyaR80n2Yijn19/EyOM0wGSvlEYgcU5qc6/1jG 0IZsckxWTaUdHcLNhVVQyKpvjEv022h9r/bfKMNVAQ+OqhnP5Xt6AT+rYy4aiR/wQLoI Mdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7bs6n3oxDz7zCsifMBmkbNdgP/qJBbWGC/LxW0REC7U=; b=NP7cfs5H29qPvkf3jolmJ9efb3g+X2TrtP/j08pUngalP9Erem8vK0Svx58fFKyEfJ 7jXILDV13NwyZbdDam5FTG+FLKQmJLRDz2H0TdBj0dI8A0dcz5JhL5+Ywqh0THPqsMjU 5Jy3BSYG/3Z9ZUX2im+lJyGPvOCcT3YsQp7DpAnPM+Y9k/7tdxGbBk67J57Pi08AaDxO FrUq9+gURSUPmfrIqNGegHtySh7f9usGJbXEC/s1UywUMSB6KMt1kSeXx0vW/Www7SY4 HpddAWLuEh9HR480Tn4S+OyNKuLTol7aCgVPVNMWN1M+4nvz5QXCLIZtPOeLTY4J+CoW zANA== X-Gm-Message-State: AJaThX6mKK8Kb9q8ZMo5sO/xgVFrhRkNeT2a1XDmlGh6c9jOM5fBw2N6 55JoJ4RtbNy3/Xr6Csqx04jsQeO01uPnrcuLqg8tJw== X-Received: by 10.36.148.6 with SMTP id j6mr7360149ite.104.1511364523243; Wed, 22 Nov 2017 07:28:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.133.35 with HTTP; Wed, 22 Nov 2017 07:28:22 -0800 (PST) In-Reply-To: <740195164.19702.1511301908907.JavaMail.zimbra@efficios.com> References: <20171121141900.18471-1-mathieu.desnoyers@efficios.com> <20171121172144.GL2482@two.firstfloor.org> <740195164.19702.1511301908907.JavaMail.zimbra@efficios.com> From: Andy Lutomirski Date: Wed, 22 Nov 2017 07:28:22 -0800 Message-ID: Subject: Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector To: Mathieu Desnoyers Cc: Andi Kleen , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Dave Watson , linux-kernel , linux-api , Paul Turner , Andrew Morton , Russell King , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Hunter , Chris Lameter , Ben Maurer , rostedt , Josh Triplett , Linus Torvalds , Catalin Marinas , Will Deacon , Michael Kerrisk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 21, 2017 at 2:05 PM, Mathieu Desnoyers wrote: > ----- On Nov 21, 2017, at 12:21 PM, Andi Kleen andi@firstfloor.org wrote: > >> On Tue, Nov 21, 2017 at 09:18:38AM -0500, Mathieu Desnoyers wrote: >>> Hi, >>> >>> Following changes based on a thorough coding style and patch changelog >>> review from Thomas Gleixner and Peter Zijlstra, I'm respinning this >>> series for another RFC. >>> >> My suggestion would be that you also split out the opv system call. >> That seems to be main contention point currently, and the restartable >> sequences should be useful without it. > > I consider rseq to be incomplete and a pain to use in various scenarios > without cpu_opv. > > About the contention point you refer to: > > Using vDSO as an example of how things should be done is just wrong: the > vDSO interaction with debugger instruction single-stepping is broken, > as I detailed in my previous email. > If anyone ever reports that as a problem, I'll gladly fix it in the kernel. That's doable without an ABI change. If rseq-like things started breaking single-stepping, we can't just fix it in the kernel. Also, there is one and only one vclock_gettime. Debuggers can easily special-case it. For all I know, they already do. From 1584780425325884837@xxx Wed Nov 22 15:26:28 +0000 2017 X-GM-THRID: 1584685670047642574 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread