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 1FA70C433EF for ; Tue, 25 Jan 2022 11:14:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6F8436B007B; Tue, 25 Jan 2022 06:14:56 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6A8546B007D; Tue, 25 Jan 2022 06:14:56 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 596816B0080; Tue, 25 Jan 2022 06:14:56 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0034.hostedemail.com [216.40.44.34]) by kanga.kvack.org (Postfix) with ESMTP id 4ABB56B007B for ; Tue, 25 Jan 2022 06:14:56 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id EC05D183044E2 for ; Tue, 25 Jan 2022 11:14:55 +0000 (UTC) X-FDA: 79068552150.04.8D178F1 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf06.hostedemail.com (Postfix) with ESMTP id 26FC418000A for ; Tue, 25 Jan 2022 11:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643109295; x=1674645295; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9/BNE1H+WbSSLoSRt7mUvPB1QQpdY1W6vfWbrNh1PKI=; b=fMbLrlL8ymKOHePe5IvF3jK8ApCMBdWyOXOkLp2CM2kQWMA7s5QcN/vL EF6ldzdY2IdUKptSrS6S4NMuu+hRvsVq6tjADbdafOJS8vOI0TYn6ewxb oFFoP9UIEjOcfQisC+c0ug3efw+u+mg7ad5TDf8JCSk0zhyrQcGAztIxZ +sY99IyEZRdF9mk9cKY2ssbD5myMTmKmkq4tOGOOkdrGtmBmp3zYWBO8/ 9GN2SuER3abft+ubX2wvUElQPn/neAor1omP0+R+DNCOXEmsneto83bPA 1iqYqGpAuF7zqd8Oy1NKvblNuIUALJqu11C3TY4++CefYZ27ToXyhs7qE Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="226255945" X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="226255945" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 03:14:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="580718703" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 25 Jan 2022 03:14:50 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nCJmk-000Jn4-9P; Tue, 25 Jan 2022 11:14:50 +0000 Date: Tue, 25 Jan 2022 19:13:53 +0800 From: kernel test robot To: Anshuman Khandual , linux-mm@kvack.org Cc: kbuild-all@lists.01.org, akpm@linux-foundation.org, naoya.horiguchi@linux.dev, rostedt@goodmis.org, Anshuman Khandual , Ingo Molnar , Zi Yan , Naoya Horiguchi , John Hubbard , Matthew Wilcox Subject: Re: [PATCH V2 2/2] mm/migration: Add trace events for base page and HugeTLB migrations Message-ID: <202201251948.RMGoyUiL-lkp@intel.com> References: <1643080105-11416-3-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643080105-11416-3-git-send-email-anshuman.khandual@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: qh3mdfkb3dr1n5k485mebbkechmfdsbp X-Rspam-User: nil Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fMbLrlL8; spf=none (imf06.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 26FC418000A X-HE-Tag: 1643109294-97654 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 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: i386-randconfig-a012-20211214 (https://download.01.org/0day-ci/archive/20220125/202201251948.RMGoyUiL-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # 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 make W=1 O=build_dir ARCH=i386 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 >>): ld: mm/rmap.o: in function `arch_atomic_read': >> arch/x86/include/asm/atomic.h:29: undefined reference to `__tracepoint_set_migration_pte' ld: mm/rmap.o: in function `trace_set_migration_pte': include/trace/events/migrate.h:129: undefined reference to `__tracepoint_set_migration_pte' ld: include/trace/events/migrate.h:129: undefined reference to `__tracepoint_set_migration_pte' ld: include/trace/events/migrate.h:129: undefined reference to `__SCT__tp_func_set_migration_pte' vim +29 arch/x86/include/asm/atomic.h 5abbbbf0b0cd4a Brian Gerst 2010-01-07 11 5abbbbf0b0cd4a Brian Gerst 2010-01-07 12 /* 5abbbbf0b0cd4a Brian Gerst 2010-01-07 13 * Atomic operations that C can't guarantee us. Useful for 5abbbbf0b0cd4a Brian Gerst 2010-01-07 14 * resource counting etc.. 5abbbbf0b0cd4a Brian Gerst 2010-01-07 15 */ 5abbbbf0b0cd4a Brian Gerst 2010-01-07 16 5abbbbf0b0cd4a Brian Gerst 2010-01-07 17 /** 8bf705d130396e Dmitry Vyukov 2018-01-29 18 * arch_atomic_read - read atomic variable 5abbbbf0b0cd4a Brian Gerst 2010-01-07 19 * @v: pointer of type atomic_t 5abbbbf0b0cd4a Brian Gerst 2010-01-07 20 * 5abbbbf0b0cd4a Brian Gerst 2010-01-07 21 * Atomically reads the value of @v. 5abbbbf0b0cd4a Brian Gerst 2010-01-07 22 */ 8bf705d130396e Dmitry Vyukov 2018-01-29 23 static __always_inline int arch_atomic_read(const atomic_t *v) 5abbbbf0b0cd4a Brian Gerst 2010-01-07 24 { ac605bee0bfab4 Dmitry Vyukov 2018-01-29 25 /* ac605bee0bfab4 Dmitry Vyukov 2018-01-29 26 * Note for KASAN: we deliberately don't use READ_ONCE_NOCHECK() here, ac605bee0bfab4 Dmitry Vyukov 2018-01-29 27 * it's non-inlined function that increases binary size and stack usage. ac605bee0bfab4 Dmitry Vyukov 2018-01-29 28 */ 37f8173dd84936 Peter Zijlstra 2020-01-24 @29 return __READ_ONCE((v)->counter); 5abbbbf0b0cd4a Brian Gerst 2010-01-07 30 } 5abbbbf0b0cd4a Brian Gerst 2010-01-07 31 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org