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 A5C34C433EF for ; Tue, 25 Jan 2022 10:28:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B4ADD6B0074; Tue, 25 Jan 2022 05:28:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AD34E6B007D; Tue, 25 Jan 2022 05:28:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 974126B0080; Tue, 25 Jan 2022 05:28:34 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0008.hostedemail.com [216.40.44.8]) by kanga.kvack.org (Postfix) with ESMTP id 84AE16B0074 for ; Tue, 25 Jan 2022 05:28:34 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 26A321816C8D3 for ; Tue, 25 Jan 2022 10:28:34 +0000 (UTC) X-FDA: 79068435348.19.8959E6C Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf30.hostedemail.com (Postfix) with ESMTP id 820468003D for ; Tue, 25 Jan 2022 10:28:33 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 853371FB; Tue, 25 Jan 2022 02:28:32 -0800 (PST) Received: from [10.163.43.67] (unknown [10.163.43.67]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 755F43F7D8; Tue, 25 Jan 2022 02:28:28 -0800 (PST) Subject: Re: [PATCH V2 2/2] mm/migration: Add trace events for base page and HugeTLB migrations To: kernel test robot , linux-mm@kvack.org Cc: kbuild-all@lists.01.org, akpm@linux-foundation.org, naoya.horiguchi@linux.dev, rostedt@goodmis.org, Ingo Molnar , Zi Yan , Naoya Horiguchi , John Hubbard , Matthew Wilcox References: <1643080105-11416-3-git-send-email-anshuman.khandual@arm.com> <202201251716.ncCstDar-lkp@intel.com> From: Anshuman Khandual Message-ID: <53c3d1bb-7085-4947-772c-a3cbf94f02c8@arm.com> Date: Tue, 25 Jan 2022 15:58:34 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <202201251716.ncCstDar-lkp@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Stat-Signature: iefis9bpwgirga98kits3enw63q3fg7q X-Rspam-User: nil Authentication-Results: imf30.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf30.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 820468003D X-HE-Tag: 1643106513-221397 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: On 1/25/22 3:11 PM, kernel test robot wrote: > Hi Anshuman, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on v5.17-rc1] > [also build test ERROR on next-20220124] > [cannot apply to hnaz-mm/master rostedt-trace/for-next] > [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/Anshuman-Khandual/mm-migration-Add-trace-events/20220125-110944 > base: e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 > config: xtensa-randconfig-r031-20220124 (https://download.01.org/0day-ci/archive/20220125/202201251716.ncCstDar-lkp@intel.com/config) > compiler: xtensa-linux-gcc (GCC) 11.2.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/f1100840c009fceb20d26ac4564c9d4c9c23c729 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Anshuman-Khandual/mm-migration-Add-trace-events/20220125-110944 > git checkout f1100840c009fceb20d26ac4564c9d4c9c23c729 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa 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 >>): > > arch/xtensa/kernel/entry.o: in function `fast_syscall_spill_registers': > (.exception.text+0x253): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead > xtensa-linux-ld: mm/rmap.o: in function `page_remove_rmap': >>> rmap.c:(.text+0x11b0): undefined reference to `__tracepoint_set_migration_pte' >>> xtensa-linux-ld: rmap.c:(.text+0x11b4): undefined reference to `__tracepoint_set_migration_pte' >>> xtensa-linux-ld: rmap.c:(.text+0x11c4): undefined reference to `__traceiter_set_migration_pte' > xtensa-linux-ld: mm/rmap.o: in function `try_to_unmap_one': >>> rmap.c:(.text+0x135d): undefined reference to `__traceiter_set_migration_pte' >>> xtensa-linux-ld: mm/rmap.o:(__jump_table+0x8): undefined reference to `__tracepoint_set_migration_pte' > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > The following change should fix both the reported build problems. diff --git a/mm/rmap.c b/mm/rmap.c index cce5dbae07f2..cae1c46440d6 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -76,6 +76,7 @@ #include +#define CREATE_TRACE_POINTS #include #include