Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3018449lqp; Mon, 25 Mar 2024 17:13:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVc9FdT/AmZH3IkqnaGft2GeszrcJd7KeSL9L7xJP4cv/qkpvB7pm+8NogZd0/2nAPbdGRTEbt2Rdc7giMRkOX4s8Q3UemLy6UWxHcnmQ== X-Google-Smtp-Source: AGHT+IHHmF5ZVBp/QMTyc27wFcJNyN1DJzFLKCVopBaYbdhDnh9E9ArAi3OKwtPW201p61CEojq7 X-Received: by 2002:a05:6a20:f27:b0:1a3:aa1f:4ce8 with SMTP id fl39-20020a056a200f2700b001a3aa1f4ce8mr6782586pzb.53.1711411993864; Mon, 25 Mar 2024 17:13:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711411993; cv=pass; d=google.com; s=arc-20160816; b=lJ6mW4a2TpjhsJdZCzPeTyXdcavnVelSzDRJEQpaU3ufSK3QACXj/HffjwrjStXtSq VQlYTzWSrgM4BVYbEjdZD0Tzs/V9lSM6HiSGeECxRa5cMB1sjhRCSIQdkkR34ZwLnDgh bT3n0ML32UXPFb52YbLhqblZJD40RYEcI3lRkAWSPdERrYzfE9sXiktWUp914+x4F0YE MWsvCC/soG4oTIPHsv21qOoDFrZPmqQ2m+mwVjVirY5fv0G5cDST9ktNfRO8VIq3dxCz v81rZSEn0PADNH4QaTaZCKAaHlVwPJlFGj8r/1Jpy4JZv0mcvVU/7lhsUdk6HNUeC9MS uBNg== 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=dcd40kK2ong+ZU27Mi0hJpX7j3R5bDGXjjZigB4ZdqM=; fh=orJjJvyEwaV5M4bBWhICE74rxtqEfPg7DRA68dX8YsY=; b=nGGxnSBiv4WkGr1wg8yhbaZsVrTbxPSycbrXBNEEEAMpvf5oDQe0FP316ek3EbsCNu BJUGgwfbfJMT8BVN8KZlYozlzMLWxyt9xNe0jbz1QWJ/QsqW1ySLXavHN9lICaDvCPrN 3USfbNPO361PpbqgZ8Wtr0yWU2eeUUBlFT7ruc8EfPXmeFWR3/NVlPg383hXAq345Dsi mOUFXTmbb3BYd3gRaECCNIgQv15mXWwXxst4fkCdVkA1XlTqYqtfZ36+J+k7Op5D9qq9 Tlxzf2zxOPJBSq+heX7kG2G7Fat/Tq6GZ/kHc2LBbGH7ALbf/e6hy+bYZk/uYpIfmJ7Q YZeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=UlQwFWfx; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-117770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117770-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 l11-20020a170903120b00b001dd67c1b4e8si6141980plh.310.2024.03.25.17.13.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 17:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117770-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=UlQwFWfx; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-117770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117770-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 0D9872C4E2E for ; Mon, 25 Mar 2024 19:07:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20BB018638; Mon, 25 Mar 2024 19:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UlQwFWfx" 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 1F999DDBC; Mon, 25 Mar 2024 19:06:08 +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=1711393571; cv=none; b=CjCt3nC5ZkLv3cI+n6924dVRU/O5sctUyJgbloGqfUb74OTl1O/6DQqSEXtai7NmVQbajJwTzy4yOIYUdD5/LEoicpXLJeKgO/lwqAwVByEkn+kGYh+FM+dC21zBfxZREhsf02/Lz3e+iVOYZY7CZAjc2ZdUwYWYVCLCHnRthRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711393571; c=relaxed/simple; bh=jwz4Guifdf4DVGICfDOmo/2GnJ02m5fob7+pPJ05kZA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CoL2qXDxy4EcjCe6EgRzKyTIh6IWOJ8nyJZEd+VXzF7orLNGt0qZK1+c8EMbq7muNQjsz6TAYeetMLAKeL1ekBs2+dLKTupB08bgneTxs1GOuKneAEU+AOzuZqXZ50LYnWtskuMMonvlKdxjHN86awJ2zTlAODO0u2ebPq9oMkE= 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=UlQwFWfx; 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=dcd40kK2ong+ZU27Mi0hJpX7j3R5bDGXjjZigB4ZdqM=; b=UlQwFWfxYxuB+qq4RNafJxY6nx v9V5gb7tQGvnSafmEpNobANBmUZNkhoDvWNEe4uF30p88zenNBQkDIUXWAM2qQLDYgM1MEIbHO3az gc2i1vF3SHtg+xktVxYrQ0AnStgkcWu2Ct1s3p3pgP769eoExsai1ZxSgmLDWyqw7+xb5EzNWaZRV brQEOj1oNz47JoR18Nn68dKx2gWghcnN7pgQe8XK2Dvnalzuvd7/BBR90gwu8kyG82oVZ2UiXDQPn dZU2Hcg/4rPiOPoipMij19WX3h1PruxZp5SoberAXaUES6UkcEimylBmEZg/ZRugJbYq84ny8dFJn GMZmOFuA==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rope0-0000000H8IP-2NtX; Mon, 25 Mar 2024 19:06:04 +0000 Date: Mon, 25 Mar 2024 19:06:04 +0000 From: Matthew Wilcox To: "Pankaj Raghav (Samsung)" Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, gost.dev@samsung.com, chandan.babu@oracle.com, hare@suse.de, mcgrof@kernel.org, djwong@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, david@fromorbit.com, akpm@linux-foundation.org, Pankaj Raghav Subject: Re: [PATCH v3 07/11] mm: do not split a folio if it has minimum folio order requirement Message-ID: References: <20240313170253.2324812-1-kernel@pankajraghav.com> <20240313170253.2324812-8-kernel@pankajraghav.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: <20240313170253.2324812-8-kernel@pankajraghav.com> On Wed, Mar 13, 2024 at 06:02:49PM +0100, Pankaj Raghav (Samsung) wrote: > From: Pankaj Raghav > > As we don't have a way to split a folio to a any given lower folio > order yet, avoid splitting the folio in split_huge_page_to_list() if it > has a minimum folio order requirement. FYI, Zi Yan's patch to do that is now in Andrew's tree. c010d47f107f609b9f4d6a103b6dfc53889049e9 in current linux-next (dated Feb 26)