Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3098448pxm; Mon, 28 Feb 2022 11:59:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0C1qQNB9U4nIJWeSDUZXIgn2ryABoAm2T3ZUcxVWPVJyI5ktDLhmFFdDSM5tf3t5W6y/R X-Received: by 2002:a05:6a00:13a7:b0:4f3:9654:2727 with SMTP id t39-20020a056a0013a700b004f396542727mr23657514pfg.43.1646078369816; Mon, 28 Feb 2022 11:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646078369; cv=none; d=google.com; s=arc-20160816; b=ehu18glaaMZXzRNJi6yDNxHkoWHlOHAt2TOZT9dW5Xnt2mNtI2dwmo1EdnF6p1UrB2 GKFLKGjx9IR7KkE7S9m0/wyWN0l2VRLwTa/i4axzSxyxReXWGW0H4a2MptOzX3UA4oUq /Xsb/Lqcbg/A6owDF6nM4I8l3PkCIKxVF2v8vJPcJd9kuFIZPkora0N7/DimkgBzcToI 9X1mCAkDfyMkozu8WlbJa24vOu1CaR7+MjSiTgfcU+DF34d/tXATYvqHqrrJhQndmr7g /4vQX+5HMlzqXvKC+g3Ff1Mnpn9plR+atDfXlC9rd3p+NszV/sGNwwADgNN3JVFplmwV 6Fbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Ah7OTCGjJMbmCfxnuUmXVjWlbDqyXwOFADZjrvT/kY4=; b=fQZfC/4yqRPHzRIgCvuP/s+wd1pGFINgFvViaIGXlZ7MJN20vTLl9z4+czZwQNlVnj N6ZHF+N/aoJ9MaILXIK4yyhwdyOQKc/WNOjlUwYsKvtjyTRm/rYOUqAxaiHBe4PmTDI1 sbFpgh34JZwzJUYyld8iWYjRdcr5KaKAp3rBU3tcaf5mnGipAoxjH1EZ943bCm8eUxY6 ilKkiJ03h8hLYHAmbtA4sYWb33Cl/FphQewAQEqJzWMKVyGUpg4/G6w4Q7NQD+bD9CQv rAz+fGu18fzYVDWNblxtH4XhUzlATAf8fxw8xCoxnT98pshTbpH7GUPdqIE9E8cAYjnh N36w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hc59TX80; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p18-20020a17090a931200b001b96a1a4584si389136pjo.26.2022.02.28.11.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:59:29 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hc59TX80; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 23F8CD887C; Mon, 28 Feb 2022 11:29:12 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239001AbiB1RsA (ORCPT + 99 others); Mon, 28 Feb 2022 12:48:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239426AbiB1RoJ (ORCPT ); Mon, 28 Feb 2022 12:44:09 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7044C9D4D5; Mon, 28 Feb 2022 09:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646069783; x=1677605783; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wEVdV4yI1ombLoTQa0l//75zCHmFA3JiLoyrB63opNY=; b=Hc59TX80aF7eitg+wFxfxL36CHivYONwsIjmP5OeCID+dI8G2OeX/sYW ZKoD42yGvBOk2bgRj0C3qPZxcmMnNSSDOONVOkOr4NR8Rf1CCL1EL9+hn 1IFuid/hMauT6NsWTiiGtZPCGB2FHLfZbkgdcCXTrojlUTXh9pQKTusw8 pnsXYcVaH7XSVfOi3gGUU181nf93x8uclpcMLDYdGIAXQKu0+u/5ysCl0 pGShXfbZHzW/h9ujaBGTtP8GGIoORBa7QApBfuDdslI8w4ElixjOniEiw hCCO3U1DM3lL4vaINrD0LwlQqnPTP1KqQQsrJOelEPc6WbzrUP+w3Qoji w==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="240349922" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="240349922" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 09:36:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="639062958" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 28 Feb 2022 09:36:15 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOjwU-0007b1-EI; Mon, 28 Feb 2022 17:36:14 +0000 Date: Tue, 1 Mar 2022 01:35:48 +0800 From: kernel test robot To: Muchun Song , corbet@lwn.net, mike.kravetz@oracle.com, akpm@linux-foundation.org, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, duanxiongchun@bytedance.com, Muchun Song Subject: Re: [PATCH 3/3] mm: hugetlb: add hugetlb_free_vmemmap sysctl Message-ID: <202202282100.zrlKlzBR-lkp@intel.com> References: <20220228071022.26143-4-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228071022.26143-4-songmuchun@bytedance.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Muchun, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] [also build test ERROR on next-20220225] [cannot apply to mcgrof/sysctl-next linus/master v5.17-rc6] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Muchun-Song/add-hugetlb_free_vmemmap-sysctl/20220228-151303 base: https://github.com/hnaz/linux-mm master config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220228/202202282100.zrlKlzBR-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/a2a3193fd949ff24ed0c138ef495e67373839483 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Muchun-Song/add-hugetlb_free_vmemmap-sysctl/20220228-151303 git checkout a2a3193fd949ff24ed0c138ef495e67373839483 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/hugetlb_vmemmap.c:156:55: error: use of undeclared identifier 'memmap_on_memory' if (write && (!is_power_of_2(sizeof(struct page)) || memmap_on_memory)) ^ 1 error generated. vim +/memmap_on_memory +156 mm/hugetlb_vmemmap.c 148 149 int hugetlb_vmemmap_sysctl_handler(struct ctl_table *table, int write, 150 void *buffer, size_t *length, loff_t *ppos) 151 { 152 /* 153 * The vmemmap pages cannot be optimized if a "struct page" crosses page 154 * boundaries or memory_hotplug.memmap_on_memory is enabled. 155 */ > 156 if (write && (!is_power_of_2(sizeof(struct page)) || memmap_on_memory)) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org