Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp128621lqp; Tue, 11 Jun 2024 17:47:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUpdhNgrUgcXqlK9qJN6WiISGrtTTHTz4EThCkOZLnmCWMHCIUqUta6g2GMmjomU2jdYKu0CENiyLKqfPJBCtTjCYoxLEGxZ2p64QOXSw== X-Google-Smtp-Source: AGHT+IFX19gBM9Ut4qcIvuoibJCmvTnrhuYr9O+fhUip3D4Xfry8Y8Pge2Hx8p6KUFNMymvmaBfx X-Received: by 2002:a17:906:c9c7:b0:a6f:40d5:e287 with SMTP id a640c23a62f3a-a6f48026d1emr15959366b.74.1718153278856; Tue, 11 Jun 2024 17:47:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718153278; cv=pass; d=google.com; s=arc-20160816; b=mNl7WWTYCYjiGASF1QbMYgklnLaMFOn9HSEF5zkkyd/TgVdgbEdeOh0L1HyxYvzZeF DBeR8rDodzzPB+mTuqbiJE7RTeXL7KmkmyCTddX97tz8rZrepa9O8APTGNr91LfgdOHE OcsUMe7YtYB8SayLLd6ryLKpd1nljnFZFWsxFz8+v5QHBihUge1mPdw4IDZBvWginlpK 8ADmdOcsiJS7kNXF83++kgFjjgm0ykuWNoNI5ANeOZMvxEMaKSM7c5Gakv35xQNjuyAN A8al+AnVDCkz2gSo7U3S7nlfKA1WdjbK8SPCbs6Dyt38S9jC+K+/85sq87uE//Wwg1DO 4UGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=JRI2sHqJDr7lQAmwy5jlV8xeTX/UwjErMUDEtI1kyP8=; fh=EXYfKqs88Fn7WeUIMZtq7y69rnoTysqHz6iatuyNVL0=; b=bPvbPjlekgxp+uyBKp3KdcIuFSuGbPA9vxn/4F+0W4trM0SaPHkrRBh7VjvEnX7FG4 xz30hpDQopA/jrcn7YibeNBhcC1xLEyb9+hG+sSTkeVDrtoLJvQy6iPeLnLbG9340zmO 6Uv5ORTAniAcnwv6ieXdUQV3Z62roAQyEfdKPTWc1B943mLfEpEybDaih6z2lonLWLXH /rzSBloFJuM2dKSg/yHIRK+tpdGQ9y/H0tL38HhE5V4ekJiQH4NeOFO39YObhUDurcRH mJxilJd4+2Phz0cUkJtr+npKbX0vJ4VXreEjyEHBu6k9JqbzRHXNzzdYoXv2NuApc9aj eQOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=skja4WA1; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-210738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f1f10ca6esi249232466b.866.2024.06.11.17.47.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 17:47:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=skja4WA1; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-210738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 946C61F232BA for ; Wed, 12 Jun 2024 00:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7ECB1865; Wed, 12 Jun 2024 00:47:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="skja4WA1" Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (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 506EB10E3; Wed, 12 Jun 2024 00:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718153271; cv=none; b=Hc/VvQIqvfMQAtk4qPLmOG/wsF6Fx8P7zOIHbIPkAe2DDwnDMBDFs5d4Cbo5WTncL1d7x2RYBedUDFZHh8OBip7S0S+ysLo+Vd5CU5Lg15/OHLQWXUzO9qsPHjDfLaayg1tfKoob7UHR9mev0j5/RVH5djJ+K5faKH1+c1Nxxko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718153271; c=relaxed/simple; bh=D0CNokrDQLILKMv8a9U7P1TOQggbiUILleuN+hDr0Io=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rM0u0Me06rIPR8F291e6r4vRfwYlgWx4ud8N4Noxop9Nx9iHytjC+kQKHXy1li89oNTnY3DLRRgpIp49kjQgXhjXqt626hrdrWypD7uOtnQeOZxQ/Basi2u2CH1ENUQQwYW+Yqk+lnTOvIQqdJbr/osSol45QibEO2SQaSpQr1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=skja4WA1; arc=none smtp.client-ip=115.124.30.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1718153264; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=JRI2sHqJDr7lQAmwy5jlV8xeTX/UwjErMUDEtI1kyP8=; b=skja4WA1QAktJNPK6h7FkMmeR6x8JKYgNevgYv7ZKoItqk1bj2KfVTqC3YtpTAgS0SHX4cL1mVjQXQ+41MauReNs35sD+6k+E9aT9szKr4WPqMTUHamkryFcuIQkdvjLysy+cHQVh+AmdtrtjF5YWP8+J0pV8CBvbGw5i5IpzPQ= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R221e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067111;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W8HvuIh_1718153263; Received: from 30.97.56.60(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0W8HvuIh_1718153263) by smtp.aliyun-inc.com; Wed, 12 Jun 2024 08:47:44 +0800 Message-ID: Date: Wed, 12 Jun 2024 08:47:43 +0800 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: linux-next: build warning after merge of the mm tree To: Andrew Morton Cc: Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List References: <20240606132353.0db5479d@canb.auug.org.au> <20240611145812.6eb6e9936388c862c168d349@linux-foundation.org> From: Baolin Wang In-Reply-To: <20240611145812.6eb6e9936388c862c168d349@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/6/12 05:58, Andrew Morton wrote: > On Thu, 6 Jun 2024 13:01:50 +0800 Baolin Wang wrote: > >> >> >> On 2024/6/6 11:23, Stephen Rothwell wrote: >>> Hi all, >>> >>> After merging the mm tree, today's linux-next build (htmldocs) produced >>> this warning: >>> >>> Documentation/admin-guide/mm/transhuge.rst:342: ERROR: Unexpected indentation. >>> >>> Introduced by commit >>> >>> 716119bee914 ("mm: shmem: add multi-size THP sysfs interface for anonymous shmem") >>> >>> from the mm-unstable branch of the mm tree. >>> >> >> Thanks for reporting. >> >> Andrew, could you help to fold below changes into this serires, which >> can fix the htmldocs building error? Thanks. >> >> ... >> >> --- a/Documentation/admin-guide/mm/transhuge.rst >> +++ b/Documentation/admin-guide/mm/transhuge.rst >> @@ -338,6 +338,7 @@ and its value for each mTHP is essentially >> consistent with the global setting. >> An 'inherit' option is added to ensure compatibility with these global >> settings. >> Conversely, the options 'force' and 'deny' are dropped, which are >> rather testing >> artifacts from the old ages. >> + >> always >> Attempt to allocate huge pages every time we need a new page; > > That's rather whitespace mangled, but I fixed it. I also added > > From: Andrew Morton > Subject: mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-fix > Date: Tue Jun 11 02:56:34 PM PDT 2024 > > reflow transhuge.rst addition to 80 cols > > Cc: Baolin Wang > Signed-off-by: Andrew Morton LGTM. Thanks Andrew :) > --- > > Documentation/admin-guide/mm/transhuge.rst | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > --- a/Documentation/admin-guide/mm/transhuge.rst~mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-fix > +++ a/Documentation/admin-guide/mm/transhuge.rst > @@ -332,12 +332,13 @@ deny > force > Force the huge option on for all - very useful for testing; > > -Shmem can also use "multi-size THP" (mTHP) by adding a new sysfs knob to control > -mTHP allocation: '/sys/kernel/mm/transparent_hugepage/hugepages-kB/shmem_enabled', > -and its value for each mTHP is essentially consistent with the global setting. > -An 'inherit' option is added to ensure compatibility with these global settings. > -Conversely, the options 'force' and 'deny' are dropped, which are rather testing > -artifacts from the old ages. > +Shmem can also use "multi-size THP" (mTHP) by adding a new sysfs knob to > +control mTHP allocation: > +'/sys/kernel/mm/transparent_hugepage/hugepages-kB/shmem_enabled', > +and its value for each mTHP is essentially consistent with the global > +setting. An 'inherit' option is added to ensure compatibility with these > +global settings. Conversely, the options 'force' and 'deny' are dropped, > +which are rather testing artifacts from the old ages. > > always > Attempt to allocate huge pages every time we need a new page; > _