From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC6E03D47A3 for ; Tue, 2 Jun 2026 10:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780395382; cv=none; b=mdlXVzJ6J0yVhFvq5MT4BnFBn0LRCCbe19DreunMeezDjrC5Xv+KdqK0MsT/z6oGV/GM/Taky65YR1e0dagVVNq1yJiOOqh7diQQQPAstPqgaIT/o4wJwLWUEzS9vFs74GkZnKyK4BM1rS3JhOxngznZBJ8Gy0QOM1UM2tDU94o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780395382; c=relaxed/simple; bh=Yq7QU8MantCBpgdcupePeTD2JsMq1DglepMcByDaSWQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LqNKYJxTXxKKPNgO4uuyUETxIEBTtBVgkOKdiVD+RaZqkzQhUvwhLw5UQCQiLMLbgz8DNhgljOcQSxR6SSHl5VTVrQZGv6RBXh6JnbHrGBode4GkJkYcCWkqyE7unuhZAf/p3ipIJUbYCBqBDn+NpZtHnaNhl3edL4TH/8BvQFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=vcKrEmxT; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="vcKrEmxT" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0ECA42364; Tue, 2 Jun 2026 03:16:15 -0700 (PDT) Received: from [10.164.19.28] (unknown [10.164.19.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9C08B3F632; Tue, 2 Jun 2026 03:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1780395380; bh=Yq7QU8MantCBpgdcupePeTD2JsMq1DglepMcByDaSWQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vcKrEmxTE6UJVDi+9H+gc5sLUbgzmFlxuTO2mLG3hSvLZvl2SDdESLW1opU9QrusJ SLtJ3H9CeI0Mnq6IYB1hvhmo7p4237sWvJgidL5ePIxqEiL8SETNmCGq4nBBTVWaJa PtHtbgvO70A/9AQ3Le4QSeS6ZlH22hNoPVye1Qak= Message-ID: <7faa8ce6-a2dd-4e6e-a47a-2a6aaf7cf136@arm.com> Date: Tue, 2 Jun 2026 15:46:08 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 01/14] docs: tmpfs: remove implementation detail reference To: Luiz Capitulino , linux-kernel@vger.kernel.org, linux-mm@kvack.org, david@kernel.org, baolin.wang@linux.alibaba.com, ziy@nvidia.com, lance.yang@linux.dev Cc: corbet@lwn.net, tsbogend@alpha.franken.de, maddy@linux.ibm.com, mpe@ellerman.id.au, agordeev@linux.ibm.com, gerald.schaefer@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, x86@kernel.org, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, ira.weiny@intel.com, hughd@google.com, dave.hansen@linux.intel.com, djbw@kernel.org, vishal.l.verma@intel.com, dave.jiang@intel.com, akpm@linux-foundation.org, yintirui@huawei.com, ljs@kernel.org References: <426d01d487656dc97b6ae00717de32efb232a04d.1780066530.git.luizcap@redhat.com> Content-Language: en-US From: Dev Jain In-Reply-To: <426d01d487656dc97b6ae00717de32efb232a04d.1780066530.git.luizcap@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/05/26 8:25 pm, Luiz Capitulino wrote: > The tmpfs.rst doc references the has_transparent_hugepage() helper, which > is an implementation detail in the kernel and not relevant for users > wishing to properly configure THP support for tmpfs. Remove it. > > Acked-by: David Hildenbrand (Red Hat) > Reviewed-by: Baolin Wang > Reviewed-by: Lance Yang > Reviewed-by: Zi Yan > Signed-off-by: Luiz Capitulino > --- Reviewed-by: Dev Jain > Documentation/filesystems/tmpfs.rst | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/Documentation/filesystems/tmpfs.rst b/Documentation/filesystems/tmpfs.rst > index d677e0428c3f..46fc986c3388 100644 > --- a/Documentation/filesystems/tmpfs.rst > +++ b/Documentation/filesystems/tmpfs.rst > @@ -109,9 +109,8 @@ noswap Disables swap. Remounts must respect the original settings. > ====== =========================================================== > > tmpfs also supports Transparent Huge Pages which requires a kernel > -configured with CONFIG_TRANSPARENT_HUGEPAGE and with huge supported for > -your system (has_transparent_hugepage(), which is architecture specific). > -The mount options for this are: > +configured with CONFIG_TRANSPARENT_HUGEPAGE and with huge pages > +supported for your system. The mount options for this are: > > ================ ============================================================== > huge=never Do not allocate huge pages. This is the default.