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 9110FC433EF for ; Fri, 11 Feb 2022 18:00:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7D9B48D0002; Fri, 11 Feb 2022 13:00:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 763818D0003; Fri, 11 Feb 2022 13:00:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4532A8D0002; Fri, 11 Feb 2022 13:00:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0183.hostedemail.com [216.40.44.183]) by kanga.kvack.org (Postfix) with ESMTP id EFB9B8D0005 for ; Fri, 11 Feb 2022 13:00:06 -0500 (EST) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 98325180BE392 for ; Fri, 11 Feb 2022 18:00:06 +0000 (UTC) X-FDA: 79131262812.12.29DBD34 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf02.hostedemail.com (Postfix) with ESMTP id C065280010 for ; Fri, 11 Feb 2022 18:00:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644602405; x=1676138405; h=date:from:to:cc:subject:message-id:mime-version; bh=xtNkX6dwQ8Lqcqr+qo6pjnN8xX+gfxnoNJA5tO5md5g=; b=JIXhzzqaijMR96q30fF3Cm3WoPupSpw6utvh3lQxIYnzIKa8Xjiuqw98 Uz85FOIbE4iVwgdH52JDFVr5quKOr9gdm/IoJyWhhon1+xCflH5GOlcT0 eLo0piS8gDe85Q+E2q652BCRZO5z+Qe08+e2GrENe05eFuNzvPTLNnP47 swXx0sGWVDcARgqgMHiCP88TaSSTZrBw4EV1zQ5vQJ+nnz0xeaN5W69vk QHFph+Ox9if0TUvhGS31XCLvJzpBF8ulT7pePvAugIZTwy1j0caN4NVjP LIDUdOIA9RYav2K/1l6Rr3g4iz3/Mp5lZo25NY2xv/dOt7Om59wSvGCAd w==; X-IronPort-AV: E=McAfee;i="6200,9189,10255"; a="248609110" X-IronPort-AV: E=Sophos;i="5.88,361,1635231600"; d="scan'208";a="248609110" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 10:00:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,361,1635231600"; d="scan'208";a="500850495" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 11 Feb 2022 10:00:02 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nIaDB-0004w0-Cn; Fri, 11 Feb 2022 18:00:01 +0000 Date: Sat, 12 Feb 2022 01:59:12 +0800 From: kernel test robot To: Hugh Dickins Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , Andrew Morton , Linux Memory Management List Subject: [hnaz-mm:master 185/280] mm/swap.c:637:9: error: implicit declaration of function 'mlock_page_drain' Message-ID: <202202120048.jS44WAmd-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: C065280010 X-Stat-Signature: cfn7y7jr4hcjnzo8iitdd3kywj1aqpz9 X-Rspam-User: Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JIXhzzqa; spf=none (imf02.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam06 X-HE-Tag: 1644602405-40012 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: tree: https://github.com/hnaz/linux-mm master head: f3077ea7c68baf736944f1ebf7d8bae1668a9e51 commit: 4b3b8bd6c8287d44703aaaeeba94a500821703c9 [185/280] mm/munlock: mlock_page() munlock_page() batch by pagevec config: h8300-allnoconfig (https://download.01.org/0day-ci/archive/20220212/202202120048.jS44WAmd-lkp@intel.com/config) compiler: h8300-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/hnaz/linux-mm/commit/4b3b8bd6c8287d44703aaaeeba94a500821703c9 git remote add hnaz-mm https://github.com/hnaz/linux-mm git fetch --no-tags hnaz-mm master git checkout 4b3b8bd6c8287d44703aaaeeba94a500821703c9 # 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=h8300 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 >>): mm/swap.c: In function 'lru_add_drain_cpu': >> mm/swap.c:637:9: error: implicit declaration of function 'mlock_page_drain' [-Werror=implicit-function-declaration] 637 | mlock_page_drain(cpu); | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/mlock_page_drain +637 mm/swap.c 600 601 /* 602 * Drain pages out of the cpu's pagevecs. 603 * Either "cpu" is the current CPU, and preemption has already been 604 * disabled; or "cpu" is being hot-unplugged, and is already dead. 605 */ 606 void lru_add_drain_cpu(int cpu) 607 { 608 struct pagevec *pvec = &per_cpu(lru_pvecs.lru_add, cpu); 609 610 if (pagevec_count(pvec)) 611 __pagevec_lru_add(pvec); 612 613 pvec = &per_cpu(lru_rotate.pvec, cpu); 614 /* Disabling interrupts below acts as a compiler barrier. */ 615 if (data_race(pagevec_count(pvec))) { 616 unsigned long flags; 617 618 /* No harm done if a racing interrupt already did this */ 619 local_lock_irqsave(&lru_rotate.lock, flags); 620 pagevec_lru_move_fn(pvec, pagevec_move_tail_fn); 621 local_unlock_irqrestore(&lru_rotate.lock, flags); 622 } 623 624 pvec = &per_cpu(lru_pvecs.lru_deactivate_file, cpu); 625 if (pagevec_count(pvec)) 626 pagevec_lru_move_fn(pvec, lru_deactivate_file_fn); 627 628 pvec = &per_cpu(lru_pvecs.lru_deactivate, cpu); 629 if (pagevec_count(pvec)) 630 pagevec_lru_move_fn(pvec, lru_deactivate_fn); 631 632 pvec = &per_cpu(lru_pvecs.lru_lazyfree, cpu); 633 if (pagevec_count(pvec)) 634 pagevec_lru_move_fn(pvec, lru_lazyfree_fn); 635 636 activate_page_drain(cpu); > 637 mlock_page_drain(cpu); 638 } 639 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org