From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65FC4C19F2A for ; Sun, 7 Aug 2022 06:04:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 37F8D8E0002; Sun, 7 Aug 2022 02:04:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 32FD48E0001; Sun, 7 Aug 2022 02:04:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F6D48E0002; Sun, 7 Aug 2022 02:04:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 11C318E0001 for ; Sun, 7 Aug 2022 02:04:28 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C698112082F for ; Sun, 7 Aug 2022 06:04:27 +0000 (UTC) X-FDA: 79771756974.15.3E416FC Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf08.hostedemail.com (Postfix) with ESMTP id AA7A116014E for ; Sun, 7 Aug 2022 06:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659852266; x=1691388266; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UHhgJQncXh4Rq5hI4ciUUfF5qZpihTWGnng1cjzeGmI=; b=GngcvLK/gWdtnHRNytkRfSOf80QkE0X+OmKFLL1F/o+gT7+00ASDiC3v eFtgrn8i42S+dWKFt8YYeEBOc14LizzNLlBJt2ryfrShkQz6HqIOhfZ/w IRGs/7abvmCOFkol+FIc69y/1vYyupiwxvvczyA4UDXysPqhlYClKxNTL bZb3HXnlbzFCeK/wsVLrNR5ipfjCC2ekqogBUqrmarZGmGAl21vWDTl8l X04kxqi65FhsJplbXmOgL8IlW9XRyf13P6Vfrx7FIYKDrIM+Ys54rA6z9 1Lkf6tFVdpy/VponjaDFzE+MVrBAeYYWjyQllR9CDY/Pso5K7t7u2wMUm g==; X-IronPort-AV: E=McAfee;i="6400,9594,10431"; a="291189709" X-IronPort-AV: E=Sophos;i="5.93,219,1654585200"; d="scan'208";a="291189709" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2022 23:04:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,219,1654585200"; d="scan'208";a="636932104" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 06 Aug 2022 23:04:23 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oKZOg-000L3B-2d; Sun, 07 Aug 2022 06:04:22 +0000 Date: Sun, 7 Aug 2022 14:03:33 +0800 From: kernel test robot To: alexlzhu@fb.com, linux-mm@kvack.org, kernel-team@fb.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: kbuild-all@lists.01.org, Alexander Zhu Subject: Re: [PATCH v3] mm: add thp_utilization metrics to /proc/thp_utilization Message-ID: <202208071343.bwmuBz9l-lkp@intel.com> References: <20220805184016.2926168-1-alexlzhu@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220805184016.2926168-1-alexlzhu@fb.com> ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="GngcvLK/"; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659852267; a=rsa-sha256; cv=none; b=mnausWxH7MO22mqev3SIpRPRzRKDK8Kn/VcAvZoqrej/STokhDvisYuIqT208+r3x//S0s 8KxbIvk6v07ckl6wf4gld7aXpwOGrySj6D9yWm/wy9aVoCKo7bRJ9LlfBXZJOdLAm5C2n2 wb4rmvsnZDNyb6+TE9kcR5Dm+4jFLQw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659852267; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=nh6dTVEFqA9WJlJ+4PUsBWlbxOqAhboRsdXKmY3yUfw=; b=1B2KddGU5a2BxMmaS7NGFvz0eToq51ZtowjMW4ev+iOS91osaUhULneTkj5y0dny8NUVWE 3IBIKZ478lut5r8H3ZOrMZ80STHtVFHRdjeVXWb+foHEDa8TwWDa5GWupdWbCJW1oKaFU3 fdNnKa54mmKcq4/I/G9mBqViN744YPY= X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: AA7A116014E X-Rspam-User: Authentication-Results: imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="GngcvLK/"; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: d77yu3fganpnsfoiyqh3sbtzas1hjz8b X-HE-Tag: 1659852266-987490 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19] [cannot apply to akpm-mm/mm-everything next-20220805] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/alexlzhu-fb-com/mm-add-thp_utilization-metrics-to-proc-thp_utilization/20220806-024150 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9e2f40233670c70c25e0681cb66d50d1e2742829 config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220807/202208071343.bwmuBz9l-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/c3896ed4c7d2319ac0880860a6bfc98e6eed3d66 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review alexlzhu-fb-com/mm-add-thp_utilization-metrics-to-proc-thp_utilization/20220806-024150 git checkout c3896ed4c7d2319ac0880860a6bfc98e6eed3d66 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/huge_memory.c:601:6: warning: no previous prototype for 'is_anon_transparent_hugepage' [-Wmissing-prototypes] 601 | bool is_anon_transparent_hugepage(struct page *page) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/huge_memory.c: In function 'thp_util_scan': >> mm/huge_memory.c:3300:29: warning: variable 'head' set but not used [-Wunused-but-set-variable] 3300 | struct page *page, *head = NULL; | ^~~~ vim +/is_anon_transparent_hugepage +601 mm/huge_memory.c 600 > 601 bool is_anon_transparent_hugepage(struct page *page) 602 { 603 return PageAnon(page) && is_transparent_hugepage(page); 604 } 605 EXPORT_SYMBOL_GPL(is_anon_transparent_hugepage); 606 -- 0-DAY CI Kernel Test Service https://01.org/lkp