Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp388280imu; Wed, 12 Dec 2018 19:30:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UKogTqQw50DW0l5QGXvPWx5OnVqbSzRo1FI2rGjOdNG9VbgMy+y9N3KLJUZGSdoM9JazjI X-Received: by 2002:a62:9913:: with SMTP id d19mr22607421pfe.107.1544671817448; Wed, 12 Dec 2018 19:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544671817; cv=none; d=google.com; s=arc-20160816; b=0pyOfQYQtshJN5RnzRjQ9FH7nDtxw+EbncsIz3itt77FzgPZDhh//MMHbu/ujdAQnH qk2h6jNX2csYd8uzZuZiaKLOW1EVGxrMCenKkl9uzhmRMhnXG/eO3hTOohqsEAGRrEuu jJar9pRt+hUh2YStT/Z44J+vvIiQRCnUIOdsXWaWeW0iDriLdtGAWl3YsNhYlg8lVvDv 68RqIUqBei533uos76G+mR+J5ySV1R6asIhygFOnDwBASGvkh6UmAZmJlt/jy1fvl1Jo ox+m4YorjtG1jG/nk82l6AsswUsz/956WdaA2V//QXoU9yifrNC5oWm7+S+KC2zOUjyl YwAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XOHDmXBO5zEIQbWMLHCVcDIKaK1XBR0yp39ppUNKbOA=; b=ATx3vqqtG4p5c4RgnQlKegGsYW1gRJOt7b45/n6gOmFOHE8ask56y+Ojyf2j1lzbaj 45uu+8gzv9Utv7sTawm6Fk/8FpoIMCqbEJfceBCekfpsRUhGrqypwaYJlGBnIvND6Lj4 0s+tmULu81f84Q5BONeePQueIH/pi4E35v3gldbH9NoaXL8ROE6Guxk0XWDeLLulFtgc e5TA3EXkmdZUoIfVV7OSLpVwaaVBVPdBeqz5F7JqUnIu4dh1zeGcoO97TtJvxg2vGMQo ORlJREWMW2rOg/NiA+EAr1dEq0LI8aJ+Kfa+kyWfDKRihkvSc26OGzok7dzoAtnYeWFV 3kSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=OJ1aN1X1; 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 n30si516317pgb.406.2018.12.12.19.29.41; Wed, 12 Dec 2018 19:30:17 -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=@ziepe.ca header.s=google header.b=OJ1aN1X1; 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 S1726478AbeLMD0k (ORCPT + 99 others); Wed, 12 Dec 2018 22:26:40 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:43881 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbeLMD0j (ORCPT ); Wed, 12 Dec 2018 22:26:39 -0500 Received: by mail-ot1-f68.google.com with SMTP id a11so573917otr.10 for ; Wed, 12 Dec 2018 19:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XOHDmXBO5zEIQbWMLHCVcDIKaK1XBR0yp39ppUNKbOA=; b=OJ1aN1X1PvEA5pofydik6Wj0c8JYh7HWbGjI90efl2bUNQLEozQrh9CdDsAXE1Cno6 TpxqSfs91A+olAd+42ZlP7dc9l6Lp3crpDsWo7vTrZ3Cg3GphROCfapn3qCt6h28rSlo W6EpcmMnKRhGoHkgrwnrxp/q800rdfL2ywKhGOhhTE3QHB+YHK3dZKWukf0POGZCOm/C xwD0QUmLLWKcmYvJ2yQ2NAkTaVQ1AwxHlfElWWzhFLmPP+h5g+YNkMQXcl9kD0pAQAgI +pQNJS6QeRfLGrsZ+Ct0wOnhP6TL5551UIQSUE3xtWzqIhOkDUARAiE3Cjfo84zYpM3o WlJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XOHDmXBO5zEIQbWMLHCVcDIKaK1XBR0yp39ppUNKbOA=; b=XJvWc20SeS0jcckkmjvQXqdDpJPJXNXHmrUurmBET1/xEbMsc+UyYuvmRwy4h7GKls xvdAY3J3cBoXiNNpUm8a4OJ7C/wSv55+QMgI52hgln500vjoPtISP3eabPHyoYW6uhoK VdvuXdIta18z+gZcppClAZN4jQABftREAwWXbR1kj7OKeBIHamsxi/izH1/SSXrFnabN 14Bt3pOwURSJrvFed+JSpXjvuHRglZroKvthBxDfhgiCfwjKlldla4Urnr+jsiptSMNb eZWqJHRP9qm2bGLPa4Q0zR6d+3J0qSb+GOP/xf8SlbVPAJXLOQLeUPR7tMJ+tgdK4Iy3 VqgA== X-Gm-Message-State: AA+aEWbOTmC2/ZHC5+WY3bCbZnjPbCxGCBYCx34KOjrjiXnsrJ3DR/dW b8Ku4BbHo12ovf4NW8aaVsuchA== X-Received: by 2002:a9d:4c88:: with SMTP id m8mr16515753otf.360.1544671598894; Wed, 12 Dec 2018 19:26:38 -0800 (PST) Received: from ziepe.ca (rrcs-24-227-213-164.sw.biz.rr.com. [24.227.213.164]) by smtp.gmail.com with ESMTPSA id 127sm312690oid.36.2018.12.12.19.26.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 19:26:38 -0800 (PST) Received: from jgg by jggl.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1gXHe1-0000rp-2w; Wed, 12 Dec 2018 20:26:37 -0700 Date: Wed, 12 Dec 2018 20:26:37 -0700 From: Jason Gunthorpe To: Jerome Glisse Cc: Dan Williams , Jan Kara , John Hubbard , Matthew Wilcox , John Hubbard , Andrew Morton , Linux MM , tom@talpey.com, Al Viro , benve@cisco.com, Christoph Hellwig , Christopher Lameter , "Dalessandro, Dennis" , Doug Ledford , Michal Hocko , Mike Marciniszyn , rcampbell@nvidia.com, Linux Kernel Mailing List , linux-fsdevel , "Weiny, Ira" Subject: Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions Message-ID: <20181213032637.GB3204@ziepe.ca> References: <20181210102846.GC29289@quack2.suse.cz> <20181212150319.GA3432@redhat.com> <20181212213005.GE5037@redhat.com> <20181212215348.GF5037@redhat.com> <20181212233703.GB2947@ziepe.ca> <20181213000109.GK5037@redhat.com> <20181213004437.GL5037@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181213004437.GL5037@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 12, 2018 at 07:44:37PM -0500, Jerome Glisse wrote: > On many GPUs you can do that, it is hardware dependant and you have > steps to take but it is something you can do (and GPU can do > continuous DMA traffic have they have threads running that can > do continuous memory access). So i assume that other hardware > can do it too. RDMA has no generic way to modify a MR and then guarntee the HW sees the modifications. Some HW can do this (ie the same HW that can do ODP, because ODP needs this capability), other HW is an unknown as this has never been asked for as a driver API. Jason