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 A76ACC433F5 for ; Wed, 2 Feb 2022 20:38:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F25E6B02C9; Wed, 2 Feb 2022 15:38:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A1FA6B02CA; Wed, 2 Feb 2022 15:38:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 069B86B02CB; Wed, 2 Feb 2022 15:38:30 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id E97096B02C9 for ; Wed, 2 Feb 2022 15:38:29 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BEFCC20831 for ; Wed, 2 Feb 2022 20:38:29 +0000 (UTC) X-FDA: 79099002738.02.202F569 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf29.hostedemail.com (Postfix) with ESMTP id B617D12000A for ; Wed, 2 Feb 2022 20:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643834308; x=1675370308; h=date:from:to:cc:subject:message-id:mime-version; bh=rfgXnb1gmzn49Jfz0USW1h98C2uR9kwrXqIqIY2CGAw=; b=K9WgCmb1oTyyWFoU73Goy/d5HDgIz6VQQqLrql0JnO6b0X9eBGZSngl/ gImJF2S1ocLoozQNQ0JiXyx75xcNxmqR5I0mHGb+8W/T4GeMKSxxMDijM k+RUY1avesUT4xoEQXW0yXPQGZ2GwoBOW7BDxpunbZLZcr/B3ZHHNbhWm UXrWzYeqLFccLHCKUP0u5MZRnAMyRLa02TFisWAF49JDYfbGw6Q0RLPWl M4GwaC2M6G2b2K8hvO5iBJVKkMGNOdBlsqM2va8NMigJmU0h1TXe0OPYT cZA2ZRAtRxRpIr5QEht5ZTbY4YW4TqAckqbzSGnzTdYjukKZO1R+UBrcH Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10246"; a="272504870" X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="272504870" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 12:38:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="631109717" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 02 Feb 2022 12:38:25 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nFMOW-000V6V-W8; Wed, 02 Feb 2022 20:38:24 +0000 Date: Thu, 3 Feb 2022 04:37:48 +0800 From: kernel test robot To: Yosry Ahmed Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 3583/3746] mm/memcontrol.c:6817:25: error: implicit declaration of function 'mem_cgroup_kmem_record'; did you mean 'mem_cgroup_id_remove'? Message-ID: <202202030427.iuiyx1zZ-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-Rspam-User: nil X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: B617D12000A X-Stat-Signature: 8ijffpzrshg9bepoqn7n7ytonihh9h5k Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=K9WgCmb1; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf29.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1643834308-209484 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6abab1b81b657ca74b7c443e832d95c87901e75b commit: 3f0d9563b9f925e35b72b2e2abfe36bf28fc3549 [3583/3746] memcg: add per-memcg total kernel memory stat config: parisc-randconfig-r006-20220201 (https://download.01.org/0day-ci/archive/20220203/202202030427.iuiyx1zZ-lkp@intel.com/config) compiler: hppa-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3f0d9563b9f925e35b72b2e2abfe36bf28fc3549 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 3f0d9563b9f925e35b72b2e2abfe36bf28fc3549 # 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=parisc 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/memcontrol.c: In function 'uncharge_batch': >> mm/memcontrol.c:6817:25: error: implicit declaration of function 'mem_cgroup_kmem_record'; did you mean 'mem_cgroup_id_remove'? [-Werror=implicit-function-declaration] 6817 | mem_cgroup_kmem_record(ug->memcg, -ug->nr_kmem); | ^~~~~~~~~~~~~~~~~~~~~~ | mem_cgroup_id_remove cc1: some warnings being treated as errors vim +6817 mm/memcontrol.c 6807 6808 static void uncharge_batch(const struct uncharge_gather *ug) 6809 { 6810 unsigned long flags; 6811 6812 if (ug->nr_memory) { 6813 page_counter_uncharge(&ug->memcg->memory, ug->nr_memory); 6814 if (do_memsw_account()) 6815 page_counter_uncharge(&ug->memcg->memsw, ug->nr_memory); 6816 if (ug->nr_kmem) > 6817 mem_cgroup_kmem_record(ug->memcg, -ug->nr_kmem); 6818 memcg_oom_recover(ug->memcg); 6819 } 6820 6821 local_irq_save(flags); 6822 __count_memcg_events(ug->memcg, PGPGOUT, ug->pgpgout); 6823 __this_cpu_add(ug->memcg->vmstats_percpu->nr_page_events, ug->nr_memory); 6824 memcg_check_events(ug->memcg, ug->nid); 6825 local_irq_restore(flags); 6826 6827 /* drop reference from uncharge_folio */ 6828 css_put(&ug->memcg->css); 6829 } 6830 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org