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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 2026EC2D0A3 for ; Thu, 12 Nov 2020 07:42:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 764BD221FB for ; Thu, 12 Nov 2020 07:42:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="tC0gOAQf"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="evxEaMPD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726111AbgKLHmD (ORCPT ); Thu, 12 Nov 2020 02:42:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbgKLHmC (ORCPT ); Thu, 12 Nov 2020 02:42:02 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5051C0613D1 for ; Wed, 11 Nov 2020 23:42:02 -0800 (PST) Date: Thu, 12 Nov 2020 08:41:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605166920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C0RO/KXPuo820PeoOyJf3Cwi0iqYWsAKrGI/WP0PspU=; b=tC0gOAQfFEalLGrCM9UNsK+rJvXctYRspBsP6+ftazL+w+xk4aJDFq7GJ+YGCpZ0lWCcAC svC6GLtPI2X3rYgASnx/94XnlESJhPljUIr93klkqZGb1OZ4VwDGptgKUNEX/qJGhX+UKy giUoQiumy0dS18LSJQ2Ssfw1DSDTdtkn20D3h+EhCEGzi6qmTNAqZFp96svhEY01IxHeE2 QCA+8z1Ao07LYbfyyixL9m5Q8aLqG7PI0OwaSFjnzLCgXkjV7f0BOMUAP5We4f/O62xghq esgmNyFVgnIpkwjBZL2sSo25tuXG1NjmANmhLC5GyKGoabrJJE2v2BD6bjj59g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605166920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C0RO/KXPuo820PeoOyJf3Cwi0iqYWsAKrGI/WP0PspU=; b=evxEaMPD0PKCsm0afFHN/68H/xCD73SSgRp9LRvca7ec6QRutcUv6JQPVzqeaixqpKnNps 8FaZH4CULP/+NDBA== From: "Ahmed S. Darwish" To: Jason Gunthorpe Cc: linux-kernel@vger.kernel.org, Peter Xu , Linus Torvalds , Andrea Arcangeli , Andrew Morton , "Aneesh Kumar K.V" , Christoph Hellwig , Hugh Dickins , Jan Kara , Jann Horn , John Hubbard , Kirill Shutemov , Kirill Tkhai , Leon Romanovsky , Linux-MM , Michal Hocko , Oleg Nesterov Subject: Re: [PATCH v4 2/2] mm: prevent gup_fast from racing with COW during fork Message-ID: References: <0-v4-908497cf359a+4782-gup_fork_jgg@nvidia.com> <2-v4-908497cf359a+4782-gup_fork_jgg@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2-v4-908497cf359a+4782-gup_fork_jgg@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 07:44:09PM -0400, Jason Gunthorpe wrote: ... > > Fixes: f3c64eda3e50 ("mm: avoid early COW write protect games during fork()") > Suggested-by: Linus Torvalds > Link: https://lore.kernel.org/r/CAHk-=wi=iCnYCARbPGjkVJu9eyYeZ13N64tZYLdOB8CP5Q_PLw@mail.gmail.com > Reviewed-by: John Hubbard > Reviewed-by: Jan Kara > Signed-off-by: Jason Gunthorpe > --- Thanks for the v3 and v4 updates. For the seqcount_t parts: Acked-by: "Ahmed S. Darwish"