Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1348505rwb; Thu, 10 Nov 2022 15:03:02 -0800 (PST) X-Google-Smtp-Source: AMsMyM7DHo4oxiNPV/Bn3ySUjcCNZPaI7YwF3fWnytSHlxXKWOOEc/drKJZTSVSSt9xL8XgCLxIp X-Received: by 2002:aa7:ccd1:0:b0:450:fb10:fdec with SMTP id y17-20020aa7ccd1000000b00450fb10fdecmr3761221edt.339.1668121382491; Thu, 10 Nov 2022 15:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668121382; cv=none; d=google.com; s=arc-20160816; b=PWW+IQnR8pVBvjFuz7rDx+JuTzu6GZe7WG96S+b/SmsYvsv7lWIfDzsDbyY3BWkfh4 8sLfoj5qGIRmBsmRjOk6DdzAOfhhBKIvj/Cm8tDZXr0a0VjaznhxwIvi36crfCZK7Ze9 FRPCFetpw8FbGxuqw0oCSr71y85Zdo2nTOcBRVefnXaEptoUpc+Mn3hIHu0URSwWKjpA hkZuMhfBOHxDR7dEHbJ/79yPXmI3Yhb44R0BAqj30l9aioDgXoDYywWqUnjUhuHrO96K R5zMcfTIh5VeXoXnnZa62ELIx/pEuH2SuuefqF0371XToDI3LErQE46OLuocTthUIk9e pCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=h38wWhVkSIZtB2RyPJKkf5rNtE65Gqs4wgaNeAIALcc=; b=My4HbC9bwfAo8dpic3efZB/JhqZCWU8iVtZuvBWfu35r/S55mqukHfakyir1ZD+z26 Nyr3tYqYYvC6BAtKxet2QIfyAXUfl7rEBU+1dXJbJWrOlFAD42jIpA/VUZnVngubpB7B Tub0NNatsCI+9iXfkpoKZP9sASs7eYp5dJDNZzKoQ0DJfJNDBhzZ7WPzfTIq/XLSEnKL aEVHXOA+/Ilzzycz35A62fe0f+RiAEJWT1MWHkc2OG4eN5Y6DrXoVBvCVqn55ZB8PrIU gDcT5+UkBCPLi+SBa1kFZGBckSPsPqjj7qu0i44xb5zgutaaCOuwDfBeUfp7ql4gYBv/ Czew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VfPbbBDh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v11-20020a056402348b00b0045138471d7csi644456edc.375.2022.11.10.15.02.38; Thu, 10 Nov 2022 15:03:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VfPbbBDh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231625AbiKJWKY (ORCPT + 92 others); Thu, 10 Nov 2022 17:10:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231618AbiKJWKT (ORCPT ); Thu, 10 Nov 2022 17:10:19 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7DCB450B6 for ; Thu, 10 Nov 2022 14:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668118167; 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=h38wWhVkSIZtB2RyPJKkf5rNtE65Gqs4wgaNeAIALcc=; b=VfPbbBDh85T1r1+etxMMeelfZvOvEHAOkTc9EzH9KoRr9ELiTHn38DVu2ugsWe7SgX+QHL eRsrWWZw/cwL75UeKo5Cmk6Cs0jJYcziM/OKbcdzprv6shCDTrjQop/ogcU2kGwrmGccaN 59yY8zhVoiy2lxISIe68EouRa9WNLw0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-246-1VS5aqB5NnOLvbBYBOn1Xw-1; Thu, 10 Nov 2022 17:09:25 -0500 X-MC-Unique: 1VS5aqB5NnOLvbBYBOn1Xw-1 Received: by mail-qk1-f198.google.com with SMTP id bs7-20020a05620a470700b006fac7447b1cso3280906qkb.17 for ; Thu, 10 Nov 2022 14:09:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h38wWhVkSIZtB2RyPJKkf5rNtE65Gqs4wgaNeAIALcc=; b=ar3zFiQ+ktz3TVnnItEQvK9U0Gqpz/7IAeS3SBvdVmOCEYf5LIiE+lkwHE8waYL1im XLPsoro6WgsnxHChTNoX2Ztn2AmynmH0Bi1jKgvgZehDf8zoKVWusA5HW+C/38hT8dQT +LprxfaxewLJfqg2JB2rin/QOMk7Doe3CTz6528STLkRSrNgp6zyRczebIeY4LxpFYxJ ABTwrd59t6ibyf2xEbeninMZAX8EeZS1qX51m17PiVzhP7MG8BUdyDK07RBfE8UACQwA j1B6uzfdcEVTEJZKsjaOAjDAB9PHusIkYUjF6LxZCkG244ceGahSCrrAhexLpQn+K/0A 0akQ== X-Gm-Message-State: ACrzQf1J0V+DIV6JUy2NX8rUuadKMdYxGIdfof8VuOVhQIDZrXoIrQgG K20Goab/ypb2h3GayvUJAHQC5nPL5MzTIf1/By29ejeNRqpAVZjOngLqvYlz347okjLwkGM2P9+ CR/S2SmmR61k6oS5/m9ws+dKc X-Received: by 2002:a05:6214:418c:b0:4b1:8788:21ff with SMTP id ld12-20020a056214418c00b004b1878821ffmr2170363qvb.16.1668118165056; Thu, 10 Nov 2022 14:09:25 -0800 (PST) X-Received: by 2002:a05:6214:418c:b0:4b1:8788:21ff with SMTP id ld12-20020a056214418c00b004b1878821ffmr2170352qvb.16.1668118164890; Thu, 10 Nov 2022 14:09:24 -0800 (PST) Received: from x1n (bras-base-aurron9127w-grc-46-70-31-27-79.dsl.bell.ca. [70.31.27.79]) by smtp.gmail.com with ESMTPSA id q45-20020a05620a2a6d00b006ee7923c187sm346175qkp.42.2022.11.10.14.09.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 14:09:24 -0800 (PST) Date: Thu, 10 Nov 2022 17:09:23 -0500 From: Peter Xu To: Nadav Amit Cc: kernel list , Linux-MM , Andrea Arcangeli , Axel Rasmussen , Ives van Hoorne , Andrew Morton , Mike Rapoport , stable@vger.kernel.org Subject: Re: [PATCH v2 1/2] mm/migrate: Fix read-only page got writable when recover pte Message-ID: References: <20221110203132.1498183-1-peterx@redhat.com> <20221110203132.1498183-2-peterx@redhat.com> <65FA2E7E-1F12-4919-BD79-11159934CF2C@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <65FA2E7E-1F12-4919-BD79-11159934CF2C@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 10, 2022 at 01:28:31PM -0800, Nadav Amit wrote: > On Nov 10, 2022, at 12:31 PM, Peter Xu wrote: > > > Ives van Hoorne from codesandbox.io reported an issue regarding possible > > data loss of uffd-wp when applied to memfds on heavily loaded systems. The > > sympton is some read page got data mismatch from the snapshot child VMs. > > symptom (if you care) Yes, but, > > Other than that LGTM this definitely matters more. :) Thanks for taking a look, Nadav. -- Peter Xu