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 B48CAC19F28 for ; Wed, 3 Aug 2022 12:22:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E627C8E0001; Wed, 3 Aug 2022 08:22:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DEB646B0072; Wed, 3 Aug 2022 08:22:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CB2088E0001; Wed, 3 Aug 2022 08:22:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id B869B6B0071 for ; Wed, 3 Aug 2022 08:22:12 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 8AC57414CE for ; Wed, 3 Aug 2022 12:22:12 +0000 (UTC) X-FDA: 79758193704.18.1B77D9D Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf18.hostedemail.com (Postfix) with ESMTP id 263B41C0121 for ; Wed, 3 Aug 2022 12:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659529330; x=1691065330; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Q5oMqDUOf5jPtkD4LDnaNhTX3jxTVkViK2zCA1vHBOs=; b=lpbKz8VqhN/ADLcbLb0J5OFwmmotenmG8idkvDHWwHjFd5RNb2KmIQIb +2yIOzg5LUNTKreW8Qnl/n+AFzCN/kMqqEq0g2ZDD/0HSIpsstgxAQvIA U/PuFC+4/qyVhLivLqb7PwE5vBjqgr5ued7sf35kIF4gJSWIP6cWGAAdP AfUGMSg0PRY0NymM8Nl/+ec7mZhkHPPIcgiw6ihcSGklSqNPfhJNQtSeb pi42V7PspmMOWE77HH1AYPJbh9KfAPHNtLmvym0o7wuHha/gx2AFkJHyK HI0kskCzIqIzC4R/iUEGPgMgiLQvigtlt5ImVSwHdgtURK2JzVoQuz8kj A==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="315518150" X-IronPort-AV: E=Sophos;i="5.93,214,1654585200"; d="scan'208";a="315518150" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 05:22:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,214,1654585200"; d="scan'208";a="848562356" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 03 Aug 2022 05:22:05 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oJDO1-000HFf-0U; Wed, 03 Aug 2022 12:22:05 +0000 Date: Wed, 3 Aug 2022 20:21:43 +0800 From: kernel test robot To: Peter Xu , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: kbuild-all@lists.01.org, Andrea Arcangeli , Andi Kleen , Andrew Morton , Linux Memory Management List , David Hildenbrand , Hugh Dickins , Huang Ying , peterx@redhat.com, Nadav Amit , "Kirill A . Shutemov" , Vlastimil Babka Subject: Re: [PATCH 2/2] mm: Remember young bit for page migrations Message-ID: <202208032031.PVcMB0Hr-lkp@intel.com> References: <20220803012159.36551-3-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220803012159.36551-3-peterx@redhat.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659529331; 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=NcmjqtOa6X0Za+WJH1/otOJqQxGvQhUZaBOK4BJ7Zt4=; b=H5nKKOUndsXCv3aFYxOPLumWqVaoRsqRFSv1/uCS3qlhTAxsQ0zeIqzaYH6L1+bF+FEL/X sOv421avgxbOwanES7pV4eViuhmbUFNyJ9T8ILJn5NU+GpDL0Om9hR+ZV1hAHystwmued8 Nq0bZxwxKAFmx3xiwrKRZvEco42XXBI= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lpbKz8Vq; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 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=1659529331; a=rsa-sha256; cv=none; b=XCeu9JW2AVUXFqDkD8SX5nJLT29Uwpho7XvkYhNHTpTkV8EcQMKV7VTNgVohsXztgLNTpu lpFKy01XeUkN6lDnFsEmciyvQxx0ZnzotgEBmCZjHDL4OZeTm6P3RVdQ5YDLlhjvrbXzxU tJPFJ8nEzbt/VryV76N70VJpQZ716Vw= X-Rspam-User: Authentication-Results: imf18.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lpbKz8Vq; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: 51mzr5n5sagdyrm69wizt8z4s77on3zw X-Rspamd-Queue-Id: 263B41C0121 X-Rspamd-Server: rspam10 X-HE-Tag: 1659529329-191404 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 Peter, Thank you for the patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Peter-Xu/mm-Remember-young-bit-for-migration-entries/20220803-092311 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: openrisc-randconfig-r016-20220803 (https://download.01.org/0day-ci/archive/20220803/202208032031.PVcMB0Hr-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/2fca6cb25745d1404fc34e0ec2ea89b6195a8c27 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Peter-Xu/mm-Remember-young-bit-for-migration-entries/20220803-092311 git checkout 2fca6cb25745d1404fc34e0ec2ea89b6195a8c27 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=openrisc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): or1k-linux-ld: mm/rmap.o: in function `migration_entry_supports_young': >> include/linux/swapops.h:288: undefined reference to `max_swapfile_size' include/linux/swapops.h:288:(.text+0x31a0): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `max_swapfile_size' or1k-linux-ld: mm/migrate.o: in function `migration_entry_supports_young': >> include/linux/swapops.h:288: undefined reference to `max_swapfile_size' include/linux/swapops.h:288:(.text+0x158): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `max_swapfile_size' vim +288 include/linux/swapops.h 279 280 static inline bool migration_entry_supports_young(void) 281 { 282 /* 283 * max_swapfile_size() returns the max supported swp-offset plus 1. 284 * We can support the migration young bit only if the pfn swap 285 * entry has the offset larger than storing the PFN value, then it 286 * means there's extra bit(s) where we can store the young bit. 287 */ > 288 return max_swapfile_size() > SWP_MIG_YOUNG_BIT; 289 } 290 -- 0-DAY CI Kernel Test Service https://01.org/lkp