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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E40EAC4332F for ; Thu, 10 Nov 2022 22:09:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbiKJWJp (ORCPT ); Thu, 10 Nov 2022 17:09:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbiKJWJn (ORCPT ); Thu, 10 Nov 2022 17:09:43 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 063CA22BD7 for ; Thu, 10 Nov 2022 14:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668118124; 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=od/5bKmrXfsFZtwHFrDmanan/mLVNdHteQQ7qlODf90=; b=ULXZUTQ+K20SKBGWSP/OgwcmZSlI9Spj6lGAYR7dDxQi0o3thxTjsDD9a6rHyBiL9ojiLf 8hTOLceg2e72SideOXuVZGTIilHC0jnHQGBy6bv0zBPSbPWMcjKIc4HcZMY0PymDQ8oG7b AtXM2qaheWTy6maHs0Nc86SGMKAw4I4= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-433-FEHH0_IeP-q0fOkYrsCfdA-1; Thu, 10 Nov 2022 17:08:42 -0500 X-MC-Unique: FEHH0_IeP-q0fOkYrsCfdA-1 Received: by mail-qv1-f69.google.com with SMTP id b2-20020a0cfe62000000b004bbfb15297dso2486801qvv.19 for ; Thu, 10 Nov 2022 14:08:42 -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=od/5bKmrXfsFZtwHFrDmanan/mLVNdHteQQ7qlODf90=; b=Xyg/vZgHTwDtxSW/3RVI+fPJmJ9eCZ+LN1tuEMklKTF99nDNhSMiOfSduwRN3EBVgs 2WcyYdSy3lTiaJpnTKSYPw4Uv558LvLFl43ZPYnlvQwLP8m+TbeUyNh4MQYtKyK9u6r9 WqB1ju0tpVdEZshnvx1Kj5zL3CG2C5q0wg0mQ3y+caGlysUn673kyaKoq51VxS1f4U2A +mgRHd7fglZgHwnPoZoRbb78en8kKfVsJygJ7AjkvPmB2ncI1Q1yw0DLKq0+P510NGrJ W2FmVZMKUWJucZV09TalJEU0ZbA/ejvga7bSkP7+54JaVS9BH/MS1e4Lz6uvrOzJwDHe s5jQ== X-Gm-Message-State: ACrzQf1SZlqvd6A5vx6wC/orwnffrzNSHH/uqggyp6L4iCgtL5wjpMEy /O/QSKlT5hSG3SIvUU3+/Za4U9vnOAqiX3NdsE9U5jTvYG47+iDVMxJNO6Twnr+lGqdZkzK3Lrp XJ+N3hFBNN3yIS3M3vM0sSUwr X-Received: by 2002:a05:620a:3cd:b0:6f8:4c19:8072 with SMTP id r13-20020a05620a03cd00b006f84c198072mr2070492qkm.601.1668118122358; Thu, 10 Nov 2022 14:08:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM4c4f8EvRXK3VQAzgH4BUiGTn4Ttp5tjSkonjNIRZhtgCjwSke5s0WOfITMemRYOiXmztDuqA== X-Received: by 2002:a05:620a:3cd:b0:6f8:4c19:8072 with SMTP id r13-20020a05620a03cd00b006f84c198072mr2070481qkm.601.1668118122138; Thu, 10 Nov 2022 14:08:42 -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 i5-20020a05620a404500b006fb11eee465sm342085qko.64.2022.11.10.14.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 14:08:41 -0800 (PST) Date: Thu, 10 Nov 2022 17:08:40 -0500 From: Peter Xu To: Ives van Hoorne Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrea Arcangeli , Axel Rasmussen , Nadav Amit , 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 10, 2022 at 01:53:25PM -0800, Ives van Hoorne wrote: > I verified these latest changes with my initial test case, and can confirm > that I haven't been able to reproduce the problem anymore! Usually, I would > be able to reproduce the error after ~1-5 runs, given that I would fill the > page cache before the run, now I have been running the same test case for > 50+ times, and I haven't seen the error anymore. > > Thanks again Peter for taking the time to find the issue and coming up with > a fix! Thanks for the quick feedback, Ives! -- Peter Xu