Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2357016pxj; Mon, 10 May 2021 00:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwsi7+sbNinxhBbwj2moHWdeT5Fr02tXdyRFkrj7zb0+i/uCr/ZgLSFVYZB88MEOObWY0h X-Received: by 2002:aa7:d705:: with SMTP id t5mr27456453edq.141.1620631743279; Mon, 10 May 2021 00:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620631743; cv=none; d=google.com; s=arc-20160816; b=JCS/nE86OciX2kYAWawrHr4RtFvRZZ39sKPZnRwLUbdeZ+G3Vmvlx03e7+kdSAbogu i9u3x1+2A3Izw1dEVtwfnI7U2vzuuDqSscajVmC+4bhT+mbdmHzuyGHgYRBn3Hx5svAe 5xzhrlKnw2sBpm0lV+H/963q2ZuXkmfOZ4S8yByYRRMvujmnF52pNjr4ENYlBpyf2RqX FfbQOVMssY0C1swft5KBIIUrSMwKrQORIR2USR3/Ffz04RV25vrbjx+PfmPF/u/SUQIV clX9qsfIA0nIaP5Nin5Z6cVsnnGKkvvBdrsUKRkW/mhHFvHcFl/jzt7U9DuaJWI1utRz AwVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=uOi60Iy7qfqfskUeY/UcLS4DY6BGRilSV8EcKyzvIcc=; b=AN2itieLu1h7L2FbmbXSzk4sESgBJCuSW0trexjWhfakzjzRn+RYCU+Gk+i+/rHJJy T4jISkkD2TcTMn+BZ66LVW8Ngta7FPkasVvOlUvzOywF79FgCzLqa1cCJyVlR8nvqozF B237kQPoj21I7mYwP3pl7/SC3nLzRCnWjUV3JkvfSNRg4hUQwvgdTT38Qbz7RJV0JOMW 4TS0uFRngDGCVL5sfOW1Pwc2jct5zqHl9nlbNYkbxfz1vPjDpWcmmuMhUtZKA0OLO4vO h3TJ6KyaF6f2zywaCxNTUjxSXe20XnpADPdVIZOhSZ1Yn6i+meCMVqbR8lflrEv01x5y 1y2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si12267704eds.128.2021.05.10.00.28.39; Mon, 10 May 2021 00:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbhEJHZk (ORCPT + 99 others); Mon, 10 May 2021 03:25:40 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2670 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhEJHZj (ORCPT ); Mon, 10 May 2021 03:25:39 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fdstq2Ltbz1BKlc; Mon, 10 May 2021 15:21:55 +0800 (CST) Received: from [10.174.179.24] (10.174.179.24) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Mon, 10 May 2021 15:24:30 +0800 Subject: Re: [PATCH -next v3 1/2] mm/debug_vm_pgtable: Move {pmd/pud}_huge_tests out of CONFIG_TRANSPARENT_HUGEPAGE To: Andrew Morton References: <20210419071820.750217-1-liushixin2@huawei.com> <20210509212654.e215ff71042b62704965ae01@linux-foundation.org> CC: Anshuman Khandual , , From: Liu Shixin Message-ID: <64dd2a02-e175-e414-9a1b-1de38fdf9547@huawei.com> Date: Mon, 10 May 2021 15:24:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20210509212654.e215ff71042b62704965ae01@linux-foundation.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/5/10 12:26, Andrew Morton wrote: > On Mon, 19 Apr 2021 15:18:19 +0800 Liu Shixin wrote: > >> The functions {pmd/pud}_set_huge and {pmd/pud}_clear_huge are not dependent >> on THP. Hence move {pmd/pud}_huge_tests out of CONFIG_TRANSPARENT_HUGEPAGE. > What is the actual effect of this? Better test coverage? Smaller > kernel? Larger kernel? > > (I'm too lazy to figure this out and it should have been in the > changelog anyway ;)) > . > Better test coverage I think. And I want to add HUGE_VMAP support for riscv, which doesn't have THP support right now.