Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp384968lqs; Thu, 13 Jun 2024 12:53:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVEgH8GPWPkpepmm4UUX6nAzsRRL1Iwvif8Q57ckTGJvYZdv737Spxa50Eye47OuEvDzf46jEJqHsJVmJDaiT9tgdg91KU6j8lZohERCg== X-Google-Smtp-Source: AGHT+IFb78xF7Nho5Rwt8qH460ZVcCGZN3ZgzUwIpSPYOdnFupOgrrzlzERmLyDFnZJSoPQF9MoN X-Received: by 2002:a05:620a:4493:b0:792:ea76:133c with SMTP id af79cd13be357-798d2412ac2mr58779985a.24.1718308429386; Thu, 13 Jun 2024 12:53:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718308429; cv=pass; d=google.com; s=arc-20160816; b=DFSuc13PlHrTTdDt9xKOX2kXVFBWMdSoz5tmab8EfSLefG1jEWxrxjugUzaYHiqhGo DDTWhId13xb9DWVtI17clnfPfJWAlAMDa2taBfCzCiahA3TqX3L4e2OPOqw6Yw7M7dBs Jrxde0OWZhIMU1maKBuiDORmupahMOtsOfTzHabKf1XS/s9lxemVNN1HL3xp+K2FDW8R e7gjPCvbTXVwyOOv7/RHiOwo5sQKDEqkVA2BavqUAhcAMyyFFo/Rrj3HWTg2WeEBleTg m1v/eJpE/tYqwz2EteS38SBVPm4MpRlmnlWTjtjn8+v/BU4YlGNnPIlbS2tARUg4q7hK E4iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=QqcQdAVSX0DGR4a20koQtjFGscN2RD3oSHZsa+S9uOc=; fh=4JUvUf5jgjczJi9EYRUuTx67VCVGgsgZjcce6UOUaKY=; b=aj2HtikmqVXgRHtu6DNWhPgc3U/1ik5HUuAZDns8cHeezR9voD3zDe1iMvzAOYjD3o 7ZwEm+EiLdA7gSE/qNXT+OkhqhSmu/zuiV0/GSrvisZOg1cX9Huh8g7Tb//nLu5ngSlK /7mtqKf8U8Ss2V0ZRK6ooOpoBMjbvUA86ktfq+IM2Xm7UGtBivbhD/R2p0x/RuZRC7LZ vrhY1sdlaMzbcA+Tc7REHFhAALwrUD346zBmUkT4aCZjIu5H6VbundmOHF4ljji09b22 rZmwrGUQ+dvpIRuLXFlKP4BmjWJFKjgHh1YEMcysGxqdO4zSWkGdMb/inovgM2UPyZgO EaNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uyHdUvob; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-213553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213553-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798abe5b862si224185485a.638.2024.06.13.12.53.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 12:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uyHdUvob; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-213553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213553-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CC66C1C23235 for ; Thu, 13 Jun 2024 15:38:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B04612E1D7; Thu, 13 Jun 2024 15:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="uyHdUvob" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A1A7A23; Thu, 13 Jun 2024 15:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293109; cv=none; b=CedVuZ3RnLrjRGOhjFksTISf+RkjDtCoWr2N4X/rjDiSula91HLbksrtrCbwGZGFR2nGqRcn5RG1XSGJmkHNosOPywtFw+iS+1drLQVHfNPUzJqEDcj7pcZ1w0k95JbB/QqGSAtTAxUfaX2yLUcHnSQ96tajj+IFC+2tBm0Q0/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293109; c=relaxed/simple; bh=FrvBVhz0++2R4BSv8Qtuukl2qRYtnPm/zmZw8ORB0Qo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NdbqO7nIj13/RLCc4UBXmYGxFjUhJCQfx9scJXOkZfd1NaEE1zOt6DvMRFHHZZGc6MOco/a3jAnudR+r/msqDnW+01j4605huAO5B6ArDnxHHcQIDAitNm/XH9hvaDdGSCf9PAt1erboy0eVWkTahaXuDQUIrYtPe93CZkf6Gd8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=uyHdUvob; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QqcQdAVSX0DGR4a20koQtjFGscN2RD3oSHZsa+S9uOc=; b=uyHdUvobNQT50e966AtRjS6tNw KoDzyBBRuqsPCQYzqTF/Bmtb59n6/BhVjArn5563FiGMCTcapDCTwG8LbqdbrQkz4RCl8bI73zU0d Y9C/0/ILQkLVjKj1SU9pmyaF7CbV3PGmrlFudbTEOXB+KBS4J6b2Zc5WaVfL+AJd9FpBBeNWLTY5Q N/xRM405+UjnpdPsIM5WJGW7vzJU9lSIOmaAjDrxHlyRXp0t5CiZGuo9cFIdU471ZCECypXJaMRbg trICrD3W/Q5n8RD4aUoE6POLfKUBTK6p4b4oR8gYxKTdcKvEiJNwc4RPvmtCu5YSXlicPGse2TxfC 4KZ5WHgA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmWl-0000000HC76-0vUu; Thu, 13 Jun 2024 15:38:15 +0000 Date: Thu, 13 Jun 2024 08:38:15 -0700 From: Luis Chamberlain To: Matthew Wilcox Cc: David Hildenbrand , Hugh Dickins , yang@os.amperecomputing.com, linmiaohe@huawei.com, muchun.song@linux.dev, osalvador@suse.de, "Pankaj Raghav (Samsung)" , david@fromorbit.com, djwong@kernel.org, chandan.babu@oracle.com, brauner@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, hare@suse.de, linux-kernel@vger.kernel.org, Zi Yan , linux-xfs@vger.kernel.org, p.raghav@samsung.com, linux-fsdevel@vger.kernel.org, hch@lst.de, gost.dev@samsung.com, cl@os.amperecomputing.com, john.g.garry@oracle.com Subject: Re: [PATCH v7 06/11] filemap: cap PTE range to be created to allowed zero fill in folio_map_range() Message-ID: References: <20240607145902.1137853-1-kernel@pankajraghav.com> <20240607145902.1137853-7-kernel@pankajraghav.com> <818f69fa-9dc7-4ca0-b3ab-a667cd1fb16d@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain On Thu, Jun 13, 2024 at 04:32:27PM +0100, Matthew Wilcox wrote: > On Thu, Jun 13, 2024 at 08:27:27AM -0700, Luis Chamberlain wrote: > > The case I tested that failed the test was tmpfs with huge pages (not > > large folios). So should we then have this: > > No. OK so this does have a change for tmpfs with huge pages enabled, do we take the position then this is a fix for that? Luis