Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1060073ybl; Fri, 16 Aug 2019 08:15:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1Ay4Ms1cxqMwNRHOINjEwlV3iGGZ/pZO++6ZMuAyEpkcg/VhjcJcpE1kKmSImONFVS0Vs X-Received: by 2002:a17:90a:234e:: with SMTP id f72mr7774218pje.121.1565968552082; Fri, 16 Aug 2019 08:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565968552; cv=none; d=google.com; s=arc-20160816; b=bzFk2I0o+gxBKZD+dum6gQURaF+dlz4LNZo3i6lX9E6wtnEGzTPvMok+LykMNGD50q sIo8c+Klq+bSohni0wdba2OXNkwQhBNk6vu2Wlo+KT2UUyQRLdcE0i/74CRylKeRTLCs i16QmOs87m6hLNvR/iVuTOH3vp4yuIgMULdR8GFNk5IvoKxA119u4KUl8ND4/n/4MQV5 dXWS6uuFZdxTdBNQXSJeIol57SbgkOUvSpYM5/MwKveM6n4Nm1GBmAy0wUN5UVmVfhtD rtNSAJXct5ao9gboks5Jg23DbfMulpiS2zxmBym8hOyzUIHxq++mY8hBDCyrM39nEoX7 r55w== 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=fov2CgaO1O1CFkZX4IfqnTZnTK7C3zpSvYgzXGSY56g=; b=px62VVpWsi1isT1N1PZTcfIjRZw2ad6QViRsEvT0dk4ssKp5IBZZiYfi11R6yZHr+u na3zn3dtAoMkR37QRUASApbWbBUFWYldF8v28nZhqRZZz2cLeDXxYubiRUj82cswWsO3 T7VUrTWmDBacXAFAmj9G6znh8jBbrEHk7Wyy3xuYJiPdzgHlJrESVx8Lbjtnz3K3qlGk yOC45yvpsSxml2kt4hF+dDVN4C0OjmpciZzxeNs781++rxQdBgJsat+I6T/FgNDR3fTv roDRzQkLUZPIJZu1QYxdhgNporGTcUNos/Du22DUfOuqb5nGZUEzWljedoTeQfWkpXhg jCOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=oy5sZFjQ; 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 v4si4020043pgf.470.2019.08.16.08.15.35; Fri, 16 Aug 2019 08:15:52 -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=pass header.i=@ziepe.ca header.s=google header.b=oy5sZFjQ; 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 S1727534AbfHPPOz (ORCPT + 99 others); Fri, 16 Aug 2019 11:14:55 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:36167 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727324AbfHPPOy (ORCPT ); Fri, 16 Aug 2019 11:14:54 -0400 Received: by mail-qk1-f193.google.com with SMTP id d23so5059788qko.3 for ; Fri, 16 Aug 2019 08:14:54 -0700 (PDT) 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=fov2CgaO1O1CFkZX4IfqnTZnTK7C3zpSvYgzXGSY56g=; b=oy5sZFjQp1BCVaEwQsb3+KNPFbSHSZHWPBMzBnqM3YkM8M6TeLN/TchFjkEdsICSuJ 1C+Aqtldy/Y4ldUDXhcLTuhfNncF7+Dyd3fNJ1bom3uP8hS9LridrmdEdsAQXWEZtKjz 7XP3pkdVorvFX0x7VQ1DMygwaFOvfV+UwasgUORcn3BEim4b1kFT8oE06M97uDUrjOv5 mMHA/Z8hsM7HRGW+maHrZQD/1QDaaYGCk/ab/4r4vI2lVu52wx2id8gV5icj3phd9BLt KUOXu736r5AT7W/9wY/TxeK4Ryn6yfFSyNCnwDYASLlBBEV0NjKDADW49yLgEKf3SWZn 2lUw== 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=fov2CgaO1O1CFkZX4IfqnTZnTK7C3zpSvYgzXGSY56g=; b=G5xoIeveoZ6f0tU3wLezmJtb0F1U/h8EZhSmgZg9r8uYp8a0DL0NJt0Pbr3OpxMasw I6W/Fy3iCWyeNpOZ6mlEYwaBu5/b5o32G8Z0zPN5NLCmQ4x+KqGFfSn8qj/Qsp1J5rc6 wXElEqU2qnS8B83+IEVlDYgnszoARq6Cy8s2TW+Vqivd1kHvlxftmqUsbMFjQE0V9qi6 997hrk5OKSR4FW/peAQBBRbNSXNgJ0IzF1lDzJa8JenUCC/kcmJmytBD6NBahR1tyGiB aUkPhjeyP8zKDP3eaPDnTrXc85H9EzS1/mUv+GouCZbat/L0r+RcCsXMz4whfGpxJ3eG 51Xg== X-Gm-Message-State: APjAAAW90WCXCkvfWcnzKl5EHwquBiHF9cJEu4CUo/Dg19yTEO+k7NI+ j2mPWG1InwlRmyqXBU6/hN9rmQ== X-Received: by 2002:a05:620a:1590:: with SMTP id d16mr9385834qkk.18.1565968493491; Fri, 16 Aug 2019 08:14:53 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-55-100.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.55.100]) by smtp.gmail.com with ESMTPSA id o127sm3158342qkd.104.2019.08.16.08.14.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2019 08:14:53 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hydwK-0003JY-LJ; Fri, 16 Aug 2019 12:14:52 -0300 Date: Fri, 16 Aug 2019 12:14:52 -0300 From: Jason Gunthorpe To: linux-mm@kvack.org Cc: Andrea Arcangeli , Christoph Hellwig , John Hubbard , =?utf-8?B?SsOpcsO0bWU=?= Glisse , Ralph Campbell , "Kuehling, Felix" , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , "David (ChunMing) Zhou" , Dimitri Sivanich , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux-foundation.org, intel-gfx@lists.freedesktop.org, Gavin Shan , Andrea Righi Subject: Re: [PATCH v3 hmm 00/11] Add mmu_notifier_get/put for managing mmu notifier registrations Message-ID: <20190816151452.GA8562@ziepe.ca> References: <20190806231548.25242-1-jgg@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190806231548.25242-1-jgg@ziepe.ca> 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 Tue, Aug 06, 2019 at 08:15:37PM -0300, Jason Gunthorpe wrote: > This series is already entangled with patches in the hmm & RDMA tree and > will require some git topic branches for the RDMA ODP stuff. I intend for > it to go through the hmm tree. > Jason Gunthorpe (11): > mm/mmu_notifiers: hoist do_mmu_notifier_register down_write to the > caller > mm/mmu_notifiers: do not speculatively allocate a mmu_notifier_mm > mm/mmu_notifiers: add a get/put scheme for the registration > misc/sgi-gru: use mmu_notifier_get/put for struct gru_mm_struct > hmm: use mmu_notifier_get/put for 'struct hmm' > drm/radeon: use mmu_notifier_get/put for struct radeon_mn > drm/amdkfd: fix a use after free race with mmu_notifer unregister > drm/amdkfd: use mmu_notifier_put Other than these patches: > RDMA/odp: use mmu_notifier_get/put for 'struct ib_ucontext_per_mm' > RDMA/odp: remove ib_ucontext from ib_umem > mm/mmu_notifiers: remove unregister_no_release This series has been applied. I will apply the ODP patches when the series they depend on is merged to the RDMA tree Any further acks/remarks I will annotate, thanks in advance Thanks to all reviewers, Jason