Received: by 10.192.165.156 with SMTP id m28csp2428560imm; Thu, 12 Apr 2018 14:12:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+L9DKL8iCPA7ZNu8lS7asPz4LmO/iOeYhED9aH9OXz6kQbOIowNisEteDmZu1VAN9KY1Ck X-Received: by 2002:a17:902:9881:: with SMTP id s1-v6mr2626966plp.350.1523567545156; Thu, 12 Apr 2018 14:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523567545; cv=none; d=google.com; s=arc-20160816; b=K4YX7glJHXK7PoChcujjwgQiBQAWlFsnk8/BQ9tzYUx2SvqX6ZswUR7GQkzDuxpktn yC2KtvI8D5KMsLeqx5taUVbPIivg5O5ic+NxRp/iECxxxqSe7zrXtMVLRNFPySD30xld uEF5zSe46UbL17o2Ik1RsGMdbA5h9AdVkCxTLHVjZxHRVWnu+WR1Op0Z8TmEaVvU9uCI a3R9OAtNBt4HVFseaVq59+NsVDYKEKyjPGxeEBtPOrfZ3phMu8GPHggquN8vp1Z4BzoO qHrAY0RaosZD8QSNKULYUYoU7AwjQKlxFVIlm6xyxKiTY2uuvBVRo9r3vqomV0XBhc4+ t2oQ== 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:dkim-signature :arc-authentication-results; bh=/3rbAN3cwiq6UIcyitfAP6OzcEqgcaVs2hL7NVAYHCo=; b=iu/l5dy1K0RPA0W7Vh5zGnfxpwVn0vUOQ8JOKooqBsQjR+UqqU38leQv0KiDXpJcnI QekqmCeH42hqkSgXgA2bG7mhkl18WHXjR7FUrTZYFWW2qCFa2tN1tWfYUkAnhBs60wwj u5PzvRinUAexPITzkm3KM24Z6hNYlDCeLbJHeB8iHRHmQ0HoT4k6WCMAhg8dGa1GOUFX 0KxiLvOTg4cJN43Lq90yV4GPwLpZqPY6eXcqb5ZAaqEgQKeU2P5fxEOoW3iJXf+9QiOl yrBTIIBPTeHaJpMIT7KwaJBnM2Y/B8rd+01QZTDwtbIQYHgkejzcCjbt+3MXhhdGNvPg 2HqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mcezUZL5; dkim=fail header.i=@linux-foundation.org header.s=google header.b=Qg3JohWe; 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 i1si2864689pgp.542.2018.04.12.14.12.10; Thu, 12 Apr 2018 14:12:25 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mcezUZL5; dkim=fail header.i=@linux-foundation.org header.s=google header.b=Qg3JohWe; 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 S1753340AbeDLTna (ORCPT + 99 others); Thu, 12 Apr 2018 15:43:30 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:53089 "EHLO mail-it0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbeDLTn3 (ORCPT ); Thu, 12 Apr 2018 15:43:29 -0400 Received: by mail-it0-f52.google.com with SMTP id f6-v6so358932ita.2; Thu, 12 Apr 2018 12:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/3rbAN3cwiq6UIcyitfAP6OzcEqgcaVs2hL7NVAYHCo=; b=mcezUZL5Icehn76+EI545UA3vbePjHW6ceyezyuyl8hz3EKvZvEnOYstuNjT+NyESq YkfMdYmh8xZL0bflcwwy1drMl5qshEFCnITY8iXwXABreVYu3BcSf8rib11YBrRuntX7 jRnT3FtDwi33D75vXfjqzCOjBaxqzj9pFKOZzG6Y3XSm1vFHtojksjrU/wdTXbuS5b5V wvNa0nS3lmNIPtwtEnLub+oTW+Di+yu+kavoTdNpR3OWN2LR1G4TGaGkhG+Jj4a8lwR/ S1W/6R9QCK9w2Whj9H26vH5p3WI05U9SRG69FgkcKD4y9M6k3DjCnt1VKYyH7VvBnkFS 0Kxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/3rbAN3cwiq6UIcyitfAP6OzcEqgcaVs2hL7NVAYHCo=; b=Qg3JohWeScIITZ09iwfbU2EoGjxyc4NplXM0txtgqFT0scyey2b3MyppiJck80sN21 MVs+RPZRVm0YaAFo0MUAEIjxVGCaiCSDq8uQ4gU09LfsLtvmvf9QzB9bwLW/IGRodUnO kXzF0sV9JF2QNHZ+G2G3H45mLcoERgipEbSyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/3rbAN3cwiq6UIcyitfAP6OzcEqgcaVs2hL7NVAYHCo=; b=SSxgWYhrFpNYMAUhp0Wv9uVogxgLz5A0d4VReYb2AL6nNS2a6e1cbBnVSZEygrajnm V87LV24urcQNSTX6nWAXa/1JQopYl4l79qk6qqsD7Ktc+5mVBnZANyoOcD75mfG8t4Y5 o213kLW2LMxLXL33iWNQd4PDkp4Met0GfQRGZ0mzutdgFqsgNqQ0Fv5EIKvlP7MITBbf 8hZctdsxeLiH8Wb4KzUBbWOik1Oh24yNd9MOtiHCR6zOZzO471hassazucWrgl43+TmR /VcgkApOcnH6ZTW0yfS5p0r+y+D+zjAs/mil/wWswoWxbWcCHx2a+JXhdTa0Nl0C2/S7 Q3sA== X-Gm-Message-State: ALQs6tALXQsLddiQWDeiV4GOAYiV5dY4jQ34Ee2oKmrQYYe1FqfiHeIH vJVuhSkozL5l/aQUPTTt8kpX3fzFf15q8X+exs8= X-Received: by 2002:a24:7693:: with SMTP id z141-v6mr2342448itb.113.1523562208118; Thu, 12 Apr 2018 12:43:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.95.15 with HTTP; Thu, 12 Apr 2018 12:43:27 -0700 (PDT) In-Reply-To: <20180412192800.15708-13-mathieu.desnoyers@efficios.com> References: <20180412192800.15708-1-mathieu.desnoyers@efficios.com> <20180412192800.15708-13-mathieu.desnoyers@efficios.com> From: Linus Torvalds Date: Thu, 12 Apr 2018 12:43:27 -0700 X-Google-Sender-Auth: pNrTZMtEmfZIQ5AFRLMMzVmRw3E Message-ID: Subject: Re: [RFC PATCH for 4.18 12/23] cpu_opv: Provide cpu_opv system call (v7) To: Mathieu Desnoyers Cc: Peter Zijlstra , "Paul E . McKenney" , Boqun Feng , Andy Lutomirski , Dave Watson , Linux Kernel Mailing List , Linux API , 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 , 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 Thu, Apr 12, 2018 at 12:27 PM, Mathieu Desnoyers wrote: > The cpu_opv system call executes a vector of operations on behalf of > user-space on a specific CPU with preemption disabled. It is inspired > by readv() and writev() system calls which take a "struct iovec" > array as argument. Do we really want the page pinning? This whole cpu_opv thing is the most questionable part of the series, and the page pinning is the most questionable part of cpu_opv for me. Can we plan on merging just the plain rseq parts *without* this all first, and then see the cpu_opv thing as a "maybe future expansion" part. I think that would make Andy happier too. Linus