Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6260132ybv; Tue, 18 Feb 2020 13:10:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwfIg9KYapo4XuhS0On/Dq377TDD+kg48/jTB6BPb04GPSc+HvCWazMm0nC6u3veH8U9pqs X-Received: by 2002:a05:6808:350:: with SMTP id j16mr2454990oie.168.1582060234105; Tue, 18 Feb 2020 13:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582060234; cv=none; d=google.com; s=arc-20160816; b=VLJKI1pgiZ/rr1LaMkVRqtYEOcq+QIblbf6KSO0PNpQgAAuopgxzt+0qdGXEhVid+W sX5/ApTq9HxaaD1x4wdxKcq7Q10Ar/cvQSNcYrH4t1b4nqTcIqcOSxptwmQbS+drMVmy lgkkKqKmdXyKmgDrAHf2mQq0OpNpyKu8pPV5jtqWVHGU8/d5Lp+on87YiEuoKyyJBDlQ +5+HH5cVCHBtJ8TMcVTXQEBq6xfaQ5T2M1s1T7y8Uc9GR17jLPr1j12DRPbQr9JDkLt6 bcCyJfpSdlNOJvTDzJ4VNmGo8QiXFiLZQbKetQoV9IL3EhP3+ZokCfaWdOyufb9qD8N1 zy5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dkim-signature; bh=E9mRKEIAjKB1Xq/wMpY1paNLH79mcLaPS2RPUKkvMDQ=; b=mgOkADFJov17yhzb0P2J8mjg0JSppX3IQ7wRa5b2cX/tW5atSqFQkWphb4sZOQ3a1X PE1KM0tqpDOECQxfe3IR8nE3Bh0S1Gcaj0JSxoWICCOE1LiZ3GfCzq8MEoVwt0u0CC9p CCJz9UEbICi/NGoK/7rPpWnZfWDVSEN2rR+QG/hIODoVlqHpWxftxmv6yz1iiNxXaO82 WgUl1Ze8Sqkm99OUWlgRZMRLWjXFHXe/MW8w7iry917leE6NQbQoSXUJblITVexPpied uEa3tk/S/RlLeFS0zeUvLejFh3Uoe8LPlvgCtJzjapNbt4tI0GNIf4MJ2//feFm7xUuv fPMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PIKIBcXX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h64si8069043oif.215.2020.02.18.13.10.22; Tue, 18 Feb 2020 13:10:34 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=PIKIBcXX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728066AbgBRVJp (ORCPT + 99 others); Tue, 18 Feb 2020 16:09:45 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:55028 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727916AbgBRVJn (ORCPT ); Tue, 18 Feb 2020 16:09:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582060182; 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=E9mRKEIAjKB1Xq/wMpY1paNLH79mcLaPS2RPUKkvMDQ=; b=PIKIBcXXV5icRXnBUto48WVeEz7JlejGzH9QixoY2on11Zwy4OnlJMUM3PdphJm69+L+qM kmgGnu7omAxZY8QDPP+v2oZFiD4hdwC48TfAucvhtlnBvntR7AAkapQ70lB4Z7IR59UYD1 gZzs7OMMTv5YmAfzUPF1vSmCahJGUoY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-D5lFg6opNpGvWSZgTdsX6A-1; Tue, 18 Feb 2020 16:09:34 -0500 X-MC-Unique: D5lFg6opNpGvWSZgTdsX6A-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9EA32DBA3; Tue, 18 Feb 2020 21:09:32 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A890060BE1; Tue, 18 Feb 2020 21:09:31 +0000 (UTC) From: Jeff Moyer To: Dan Williams Cc: Murphy Zhou , linux-nvdimm , Jia He , Linux MM , "Shutemov\, Kirill" , Linux Kernel Mailing List Subject: Re: [PATCH] mm: get rid of WARN if failed to cow user pages References: <20191225054227.gii6ctjkuddjnprs@xzhoux.usersys.redhat.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Tue, 18 Feb 2020 16:09:30 -0500 In-Reply-To: (Dan Williams's message of "Tue, 14 Jan 2020 22:02:34 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dan Williams writes: > [ drop Ross, add Kirill, linux-mm, and lkml ] > > On Tue, Dec 24, 2019 at 9:42 PM Murphy Zhou wrote: >> >> By running xfstests with fsdax enabled, generic/437 always hits this >> warning[1] since this commit: >> >> commit 83d116c53058d505ddef051e90ab27f57015b025 >> Author: Jia He >> Date: Fri Oct 11 22:09:39 2019 +0800 >> >> mm: fix double page fault on arm64 if PTE_AF is cleared >> >> Looking at the test program[2] generic/437 uses, it's pretty easy >> to hit this warning. Remove this WARN as it seems not necessary. > > This is not sufficient justification. Does this same test fail without > DAX? If not, why not? At a minimum you need to explain why this is not > indicating a problem. I ran into this, too, and Kirill has posted a patch[1] to fix the issue. Note that it's a potential data corrupter, so just removing the warning is NOT the right approach. :) -Jeff [1] https://lore.kernel.org/linux-mm/20200218154151.13349-1-kirill.shutemov@linux.intel.com/T/#u