Message ID | 20190722043012.22945-1-jhubbard@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 347BB138D for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 22 Jul 2019 07:08:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F0DD28495 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 22 Jul 2019 07:08:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1247F2849B; Mon, 22 Jul 2019 07:08:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C053528495 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 22 Jul 2019 07:08:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E05BD89ACD; Mon, 22 Jul 2019 07:08:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 33C0C89A76 for <dri-devel@lists.freedesktop.org>; Mon, 22 Jul 2019 04:30:16 +0000 (UTC) Received: by mail-pf1-x441.google.com with SMTP id r7so16742563pfl.3 for <dri-devel@lists.freedesktop.org>; Sun, 21 Jul 2019 21:30:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JVt6ZsruZdEjCeuPEiZoevmx4LJB3+Wj53DW9JaZ1Yk=; b=S/rxLmBy7c/atq8k28zzvRHrORCFG88HCNUpFcqglYNIeB/zmDCcdSHF01TqPuGCuH EL98ZWPWKuaR3ULQwZT7ygQ6kUdE1PsXET4lFCEMZi29WRVXNINChe7iUL99eelJgMrj C4WthJi0mbzhuPfK62JzfG6sqFWPzhpMUnuJy+WoPsTsDKmwoITQYPq7srxI9sAM6KAt 95KjA2MRQQWiDKSYahnBCDkK93KLJ6gGUDArxdO1etzAQZ63XhX9cYiOrtfar/Tcr2R/ SpCOp2piMrFYAiBPFqUp+ewxv0UJc3GkFQJl++YY3YnTtxzcXvbxJWQ9xfVa+5pLAb6k jYTQ== X-Gm-Message-State: APjAAAWReDQRtNDSlX8vmQ9ZuEMuR2cmcovcC1eu/JfmfwSpYhQPrK6H Ntc+GDeYXWx7C2Q5Ytoxh2E= X-Google-Smtp-Source: APXvYqztu+uwlucjHIzVmQ0L57MjZIIjZ2e8k8CcXoJiraVsvVA60l6ON4zhkWJGUUfJVOo89G9VTA== X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr74049775pjz.140.1563769815699; Sun, 21 Jul 2019 21:30:15 -0700 (PDT) Received: from blueforge.nvidia.com (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id t96sm34285690pjb.1.2019.07.21.21.30.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 21 Jul 2019 21:30:15 -0700 (PDT) From: john.hubbard@gmail.com X-Google-Original-From: jhubbard@nvidia.com To: Andrew Morton <akpm@linux-foundation.org> Subject: [PATCH 0/4] put_user_page: new put_user_page_dirty*() helpers Date: Sun, 21 Jul 2019 21:30:09 -0700 Message-Id: <20190722043012.22945-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-NVConfidentiality: public X-Mailman-Approved-At: Mon, 22 Jul 2019 07:08:15 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JVt6ZsruZdEjCeuPEiZoevmx4LJB3+Wj53DW9JaZ1Yk=; b=VOdsVprSu9cGW1iqrmfPQX3xmYU5Z1o9cHF6pOzbJltiYhuYCge33pdD6CwMEXjvNM sFi5J1se+WaXJ91/TKlPNrLGUHwxnpIw4qn7UAwShRFJ/W8Nr1RUSKFA7n+45aPr6x5C WXA+RxInAR0EH7vDnRS0n0aIDe479ShZenlcHSFgtmJCj4AKpuj0qM5VYVp+YAGkHdwE O4cIZ7alr6idAM7ATqKQj8tHNYN+A4KH9dTbPVf+Boq9vCTQQ+AaVmGwBppTWRbLCXxn GvquR0RX9Yva+IepmKTElD2ekCLJhgD/84GbCKePJ9GNR9JpwzZV3DJPl7z/yc4lJjwJ ABng== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Boaz Harrosh <boaz@plexistor.com>, Jan Kara <jack@suse.cz>, David Airlie <airlied@linux.ie>, Dave Chinner <david@fromorbit.com>, dri-devel@lists.freedesktop.org, linux-mm@kvack.org, Christoph Hellwig <hch@lst.de>, Sage Weil <sage@redhat.com>, Miklos Szeredi <miklos@szeredi.hu>, linux-rdma@vger.kernel.org, Matthew Wilcox <willy@infradead.org>, Jason Gunthorpe <jgg@ziepe.ca>, Johannes Thumshirn <jthumshirn@suse.de>, Ilya Dryomov <idryomov@gmail.com>, =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= <bjorn.topel@intel.com>, John Hubbard <jhubbard@nvidia.com>, Santosh Shilimkar <santosh.shilimkar@oracle.com>, Ming Lei <ming.lei@redhat.com>, =?utf-8?b?SsOpcsO0bWUgR2xpc3Nl?= <jglisse@redhat.com>, Alexander Viro <viro@zeniv.linux.org.uk>, Dan Williams <dan.j.williams@intel.com>, Magnus Karlsson <magnus.karlsson@intel.com>, Jens Axboe <axboe@kernel.dk>, netdev@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>, Yan Zheng <zyan@redhat.com>, bpf@vger.kernel.org, "David S . Miller" <davem@davemloft.net> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
put_user_page: new put_user_page_dirty*() helpers
|
expand
|
From: John Hubbard <jhubbard@nvidia.com> Hi, Here is the first small batch of call site conversions for put_page() to put_user_page(). This batch includes some, but not all of the places that benefit from the two new put_user_page_dirty*() helper functions. (The ordering of call site conversion patch submission makes it better to wait until later, to convert the rest.) There are about 50+ patches in my tree [1], and I'll be sending out the remaining ones in a few more groups: * The block/bio related changes (Jerome mostly wrote those, but I've had to move stuff around extensively, and add a little code) * mm/ changes * other subsystem patches * an RFC that shows the current state of the tracking patch set. That can only be applied after all call sites are converted, but it's good to get an early look at it. This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder versions"). [1] https://github.com/johnhubbard/linux/tree/gup_dma_core John Hubbard (4): drivers/gpu/drm/via: convert put_page() to put_user_page*() net/xdp: convert put_page() to put_user_page*() net/rds: convert put_page() to put_user_page*() gup: new put_user_page_dirty*() helpers drivers/gpu/drm/via/via_dmablit.c | 5 +++-- drivers/infiniband/core/umem.c | 2 +- drivers/infiniband/hw/usnic/usnic_uiom.c | 2 +- include/linux/mm.h | 10 ++++++++++ net/rds/info.c | 5 ++--- net/rds/message.c | 2 +- net/rds/rdma.c | 15 +++++++-------- net/xdp/xdp_umem.c | 3 +-- 8 files changed, 26 insertions(+), 18 deletions(-)