Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2172676pxb; Mon, 8 Mar 2021 16:45:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJziWuziYBX3Q8FYxWpbIdHM61nDcb9ATPj/botNAaEGSx1xqD7wtL7P46VSgdCLzjZy8DkM X-Received: by 2002:a05:6402:278b:: with SMTP id b11mr1191997ede.380.1615250758412; Mon, 08 Mar 2021 16:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615250758; cv=none; d=google.com; s=arc-20160816; b=gnUZsnra0roBDche/b7uhu/xFZXuqhYvysTdbRsj9H5RE0nS/kNrw8EidxdnHjE/aI OUaxVIY+aeenWfa494U8QmI0jsCKhVP4kbCCUQ61Sv66OUtu5BfjK/35al7oLzOyy6ka O23V+HyQvusnnVazPdSD7pwKmrrlFxFlPADrSDi1FAnhm+bnvktCbl2AwLyvve7WZ6nX i/U1S3XRIbcVrcqLnO6hslrp0v3WqobF8K2fcivbmhxzvCk013WrPxmjH1r6Tw1MfYS1 zNMbjp4FvhohUcmshBa7gQLSDFuE2QMdZCFXUH/udtQyrtaPOXUTAgo8TvQChg3xedW9 Yhfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=v8kPbpKmkjxN37NS68tk097rDM2iXwQyVdg4nrq4GpE=; b=kLJDhvhLHmXKaN7DyOz4J90IVEUVZM6rLu6r9ZsKRL9ieZEjCZUov43wmA5IU1z1I+ mnaJ9/m8OxpHDN+5Y6rlGBnff/Gu7c0v8DsJ8JR2jbqiD3/eCE72eo5vZALBMG9FEuKD XPZnT/O8a0RuGuym3bf84gvasbCq2wgogqBR+pdk84yoCG0O86EJJGAiwjyeFucHmNQH RjYTrn9PyaDsopAkjjUoJkxQAL0GjMIrx/JQeXWqTEuMTcsQh4TOYaQkgl4GTa12FhP4 QwYNTAPLNI+MmJYy8ca7ZLWAQpA2Z9t74t8dUWkMKof2b51mu2E4H6gevjYqWkNqeihF mpVg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si7953949eds.390.2021.03.08.16.45.36; Mon, 08 Mar 2021 16:45:58 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231910AbhCIAma (ORCPT + 99 others); Mon, 8 Mar 2021 19:42:30 -0500 Received: from mga05.intel.com ([192.55.52.43]:8561 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbhCIAm3 (ORCPT ); Mon, 8 Mar 2021 19:42:29 -0500 IronPort-SDR: inreQXQxrfk51/FIaMAX854dBKu1Aj2BnkmxL90ahy2g7Pn+0BUEVSr2DUQGZbbib7t85sPc/D rnBBzQCpcmLg== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="273158804" X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="273158804" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 16:42:29 -0800 IronPort-SDR: StTEf6YiRf8FOCI3WurmyAfyK6jvUGJrlrIAvcdaKRUoGTowH8OTH+tNAMjKKGGnwp/2zbmIm7 6VyEyWuzTKsA== X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="409512751" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.11]) ([10.239.13.11]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 16:42:26 -0800 Subject: Re: [kbuild-all] Re: [PATCH v2] mm: page_alloc: dump migrate-failed pages To: Minchan Kim , kernel test robot Cc: Andrew Morton , kbuild-all@01.org, Linux Memory Management List , LKML , John Dias , Michal Hocko , David Hildenbrand , Jason Baron References: <20210308202047.1903802-1-minchan@kernel.org> <202103090555.LtLPf1Ho-lkp@intel.com> From: Rong Chen Message-ID: Date: Tue, 9 Mar 2021 08:41:44 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/9/21 6:29 AM, Minchan Kim wrote: > On Tue, Mar 09, 2021 at 05:29:30AM +0800, kernel test robot wrote: >> Hi Minchan, >> >> I love your patch! Perhaps something to improve: >> >> [auto build test WARNING on hnaz-linux-mm/master] >> >> url: https://github.com/0day-ci/linux/commits/Minchan-Kim/mm-page_alloc-dump-migrate-failed-pages/20210309-042205 >> base: https://github.com/hnaz/linux-mm master >> config: m68k-allmodconfig (attached as .config) >> compiler: m68k-linux-gcc (GCC) 9.3.0 >> 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/3c635af37b862e9c601ee8d5818f7da9cd3e2e57 >> git remote add linux-review https://github.com/0day-ci/linux >> git fetch --no-tags linux-review Minchan-Kim/mm-page_alloc-dump-migrate-failed-pages/20210309-042205 >> git checkout 3c635af37b862e9c601ee8d5818f7da9cd3e2e57 >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All warnings (new ones prefixed by >>): >> >> arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra] >> 169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) >> | ^~ >> include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' >> 78 | # define unlikely(x) __builtin_expect(!!(x), 0) >> | ^ >> include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON' >> 143 | BUG_ON(!virt_addr_valid(buf)); >> | ^~~~~~ >> include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid' >> 143 | BUG_ON(!virt_addr_valid(buf)); >> | ^~~~~~~~~~~~~~~ >> In file included from arch/m68k/include/asm/page.h:60, >> from arch/m68k/include/asm/thread_info.h:6, >> from include/linux/thread_info.h:38, >> from include/asm-generic/preempt.h:5, >> from ./arch/m68k/include/generated/asm/preempt.h:1, >> from include/linux/preempt.h:78, >> from include/linux/spinlock.h:51, >> from include/linux/mmzone.h:8, >> from include/linux/gfp.h:6, >> from include/linux/mm.h:10, >> from mm/page_alloc.c:19: > I am not sure this is triggered by the patch since I could see the > warn with reverting the patch. Hi Minchan, Only the lines prefixed by ">>" are related with the patch: >> mm/page_alloc.c:8348:5: warning: no previous prototype for 'alloc_contig_ratelimit' [-Wmissing-prototypes] 8348 | int alloc_contig_ratelimit(void) | ^~~~~~~~~~~~~~~~~~~~~~ >> mm/page_alloc.c:8353:6: warning: no previous prototype for 'dump_migrate_failure_pages' [-Wmissing-prototypes] 8353 | void dump_migrate_failure_pages(struct list_head *page_list) Best Regards, Rong Chen