Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp369537lqs; Thu, 13 Jun 2024 12:22:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWraizsevpKTnjeQs3KmHJs7F7zLPPx27iBns8o2Qme+ZYuQmliIzQKNXb33AGlF3f5dDu6nOl3TI7QLMLmzJoe/hinEDyAiNFgNrATHA== X-Google-Smtp-Source: AGHT+IHo+R/wVdFh5f8mSd2Nq+3JFc4f2pHmZlKvv6rpObp6P4TZuGygd8M6XoW3j6iktI4R2ztV X-Received: by 2002:a17:90a:8f05:b0:2c4:aba4:d84e with SMTP id 98e67ed59e1d1-2c4dbd44f51mr711499a91.43.1718306560746; Thu, 13 Jun 2024 12:22:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718306560; cv=pass; d=google.com; s=arc-20160816; b=HgOxzHmAf6VcROIKXjuXUVdaYtbhPVAe/TgS0Wh3JNbHWOWycGKIjvU/qOCCApW/tT t1z5AWrmRalt76AIJVbRSaDkniVHoErGpMR3mf7IpQNYk5ZgkKCLcGRiB3ckLpEbTi0W 1A8jIWeSemrSs/lGAYf19GAsLhMUGdKA4+qnDSS7MHFsK69M/MuQb5VDpzTv3RrYgPud GtIJCxsnr6PjpaPEV8gvJZGlF+Y6rMwvHTk1ypI37QjdV5zBbjwdM1QCX2RPnnstwOHG OZJryUFAcFuKm7YoRDoTVPZ2iY8wwgbawfNT0xi3KESTfhg2+hWmKNYvidGGaZfOH671 Fqfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=QuUHK0e/otJ7SUMe1STzRoAujp3yiqn/wk9YrOIAIGU=; fh=Klt/jT7Pwb18i0ge/DHE8h2I+jBrCY0I584QCQGMvR0=; b=xN3r+AgebvcvdZIKxaDEjBj2cQaYbJJAvS1A5erhxRXbJ6dfwOX7J1hHg4CHDZ+S3I 4ybbrk03dbvhmXSMuAri4NuWe0em6EN8JsswGRv04Q+kTzgWt09OXi7ylVJayPEyloA2 gbPM2Xp4EhDVihFoIOShYe9SYXuMGJ9oZ4TvOuIDaABetXMy6Sm8JS7GR0u8hVblhQEs Z2rwaSNVUiOIGCQeTdx7pBXAmx9bPlkgny29WcpsBvmgdu1peQZPVUZ3xhjKHlDYj+ob Wblt1DxxzyQI/gwhZui1PTjA7yDmKLOmkkIGfkrfixty+8N1DLihVT3VL6Ld7WcDkdiR U9mQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OmE6lUHe; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-213550-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213550-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a75dedaasi4441583a91.36.2024.06.13.12.22.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 12:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213550-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OmE6lUHe; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-213550-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213550-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D0E6628343A for ; Thu, 13 Jun 2024 15:33:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E5E112EBD7; Thu, 13 Jun 2024 15:32:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="OmE6lUHe" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 75E915BACF; Thu, 13 Jun 2024 15:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718292765; cv=none; b=Mn8CsJUnlfggNf44eW1dgNot0CRw5sJT4URbkIeeReo+kclElE6xw4wXv1UA0oKddZUjDrHCjeZFwbQZ7bkoLQ5ZfSXKIMoX7YRkpjh/IaQDMUFXlOwTuxopv+VBnGE8Ju0nOJHo0vCiKIpZzB3v5apT2DjM5loMkBXsJE+IGwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718292765; c=relaxed/simple; bh=QuUHK0e/otJ7SUMe1STzRoAujp3yiqn/wk9YrOIAIGU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t9gB2T/oKx+NmGx7CDOr4rYEKZ4AEZALyYWPKTWMOELGm8nzQ7W7473R87P6vDreuWWSU2v69sviDUCCM64sJ7Y22YmgPHaIYxoAv8t4D5ccb1AIyj1LFGUwDnkPGchiXfrcbli/DGprBJeOFmEARcc/9UEtFVx0ShOyFJbFyag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=OmE6lUHe; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.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=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QuUHK0e/otJ7SUMe1STzRoAujp3yiqn/wk9YrOIAIGU=; b=OmE6lUHeM97WFUAxa68p7/25WE +JWiU42q4yaWKpro+SCqVFS2hBT9euSWZnRQgxkdXevU7aPzbnI5fKRWfohmThYb9GpV+x6+cc4DX jmWjSvDpTZEFaOQKSCelogn4r2Ae7wrz0C7wOlyA3F+U5GUyz/HPxhHsk6Ely7CBBSAsMP7ANXYgm xzGIl82TKR8n5FduOTiQfOW9xH9v909roc0nxu5k7aaqSSi4GP38bkABKkdle4BQ5+GsKusAXNXAq fyv0mELBqiQK8S3RGjmTP0gEckmfNdXE/RhIiVXaltDbnu7qfrFr4tPgoOR6p6piJQXatQ9at7XAo SQl1m/qQ==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmR9-0000000FuPW-1kCJ; Thu, 13 Jun 2024 15:32:27 +0000 Date: Thu, 13 Jun 2024 16:32:27 +0100 From: Matthew Wilcox To: Luis Chamberlain 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: 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.