From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76FBAC47E49 for ; Tue, 29 Oct 2019 12:51:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 31B22214B2 for ; Tue, 29 Oct 2019 12:51:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="IHV+AJap" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31B22214B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CF31E6B0005; Tue, 29 Oct 2019 08:51:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CA38E6B0006; Tue, 29 Oct 2019 08:51:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B92386B0007; Tue, 29 Oct 2019 08:51:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0178.hostedemail.com [216.40.44.178]) by kanga.kvack.org (Postfix) with ESMTP id 952C76B0005 for ; Tue, 29 Oct 2019 08:51:33 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 3610E8249980 for ; Tue, 29 Oct 2019 12:51:33 +0000 (UTC) X-FDA: 76096808466.17.dime36_47b84e3078d3d X-HE-Tag: dime36_47b84e3078d3d X-Filterd-Recvd-Size: 4754 Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Tue, 29 Oct 2019 12:51:32 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id t8so19973786qtc.6 for ; Tue, 29 Oct 2019 05:51:32 -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=ZF5YLLdkMxOeBnT3AEdovjyBEmTM+OTs+LDLPN0GMI8=; b=IHV+AJapDR5k8D6Zafc6ml2K0fa/jgF1PZBiuBMaOa/r+MK0PJ0xNtRtLiwXM8hfUM oyGHNxRN/O07FITOaIm5BnO1Box0mj0QkuPEB2wMXMWKVbmYTzXQRMncmXuCTctBu7gC 91FIwEspUa/0nc1TUQ+oissChI6D4nJBO8DA40LneE6r/MnEh4dPTkicbi1e9mKDMq4W wpip0eIgYwCfGlBN5ll9Ug3VTlK7wx3iCECoDUwBIIk+qI/2gjDdaegrEPvi6otVA07c HtuIQ3uKH0+5jfdbr9pByZT3cPdoijw2I2FMN1xWV5tXm87jeYeH8MJjI7uCkOjTfH2C whzQ== 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=ZF5YLLdkMxOeBnT3AEdovjyBEmTM+OTs+LDLPN0GMI8=; b=n9hkdBLQvBDO3MzL26sJsiPduzG+FiSm3N/Zt22Aqkl9xiStfAKK/L2fBY+OhoCDyr HqaZ4MYT6rYj4AkjdI04lJKPlPluG9KUdSG0jl1A7wccqsS4hamDIGxp3ClpGlOlmSgS Z4mGxdy/oLjgl9hD1Yze2VJ6uysAwV/pauAlasoByZ5NrTyTITC1/+AegqjgYoQ1jfjx S0sTwnMgnUZelRBDAnajfAmvjEWRvPkiqOs1fKhJByKk/o5LNNfrxuhVg5/1EtnfSGsi 6jxpXu606Y5NXcE65g+vH9ZKhuyEeBT6BqrwnsyRA9YAq33Qvzyim76KSntqqWJoIgLK S93Q== X-Gm-Message-State: APjAAAVX1T8BuxbcHvoau0mCCn/EomUbs8N+HWKzRrW4f016253jF/SK Epkrqo3K32acFY23F3pBf74tlA== X-Google-Smtp-Source: APXvYqxq0ay2DLP144wUqH2TJqeYs+CM1CzDDTCAEHT8qLG70HSD8wcaxvvKBHRgPHlzCMTknReLGQ== X-Received: by 2002:ac8:219d:: with SMTP id 29mr4121236qty.280.1572353492189; Tue, 29 Oct 2019 05:51:32 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-162-113-180.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.180]) by smtp.gmail.com with ESMTPSA id w69sm4027395qkb.26.2019.10.29.05.51.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Oct 2019 05:51:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1iPQyB-000522-4r; Tue, 29 Oct 2019 09:51:31 -0300 Date: Tue, 29 Oct 2019 09:51:31 -0300 From: Jason Gunthorpe To: Dennis Dalessandro Cc: linux-mm@kvack.org, Jerome Glisse , Ralph Campbell , John Hubbard , Felix.Kuehling@amd.com, linux-rdma@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Alex Deucher , Ben Skeggs , Boris Ostrovsky , Christian =?utf-8?B?S8O2bmln?= , David Zhou , Juergen Gross , Mike Marciniszyn , Oleksandr Andrushchenko , Petr Cvek , Stefano Stabellini , nouveau@lists.freedesktop.org, xen-devel@lists.xenproject.org, Christoph Hellwig Subject: Re: [PATCH v2 06/15] RDMA/hfi1: Use mmu_range_notifier_inset for user_exp_rcv Message-ID: <20191029125131.GC6128@ziepe.ca> References: <20191028201032.6352-1-jgg@ziepe.ca> <20191028201032.6352-7-jgg@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Oct 29, 2019 at 08:19:20AM -0400, Dennis Dalessandro wrote: > On 10/28/2019 4:10 PM, Jason Gunthorpe wrote: > > From: Jason Gunthorpe > > > > This converts one of the two users of mmu_notifiers to use the new API. > > The conversion is fairly straightforward, however the existing use of > > notifiers here seems to be racey. > > > > Cc: Mike Marciniszyn > > Cc: Dennis Dalessandro > > Signed-off-by: Jason Gunthorpe > > I tested v1, and replied to it [1]. I can re-test with this version if you > like as well. > > [1] https://marc.info/?l=linux-rdma&m=157235130606412&w=2 I think it is fine, nothing really changed in v2, thanks Jason