linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Yafang Shao <laoar.shao@gmail.com>
Cc: kbuild-all@01.org, akpm@linux-foundation.org, linux-mm@kvack.org,
	Yafang Shao <laoar.shao@gmail.com>, Roman Gushchin <guro@fb.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Michal Hocko <mhocko@suse.com>,
	Vladimir Davydov <vdavydov.dev@gmail.com>,
	Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Subject: Re: [PATCH] mm, memcg: skip killing processes under memcg protection at first scan
Date: Sun, 18 Aug 2019 22:08:23 +0800	[thread overview]
Message-ID: <201908182208.GX5e0n98%lkp@intel.com> (raw)
In-Reply-To: <1566102294-14803-1-git-send-email-laoar.shao@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 10829 bytes --]

Hi Yafang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc4 next-20190816]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Yafang-Shao/mm-memcg-skip-killing-processes-under-memcg-protection-at-first-scan/20190818-205854
config: i386-randconfig-a002-201933 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: net/nfc/netlink.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/af_nfc.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/rawsock.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/llcp_core.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/llcp_commands.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/llcp_sock.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: net/nfc/nci/data.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/nci/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/nci/ntf.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/nci/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/nci/rsp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/nci/core.o:include/linux/memcontrol.h:819: first defined here
   ld: net/nfc/nci/hci.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/nfc/nci/core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/isdn/mISDN/dsp_cmx.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_tones.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_dtmf.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_audio.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_blowfish.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_pipeline.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/isdn/mISDN/dsp_hwec.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/dsp_core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/isdn/mISDN/l1oip_codec.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/isdn/mISDN/l1oip_core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/bonding/bond_alb.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/bonding/bond_main.o:include/linux/memcontrol.h:819: first defined here
--
   ld: fs/reiserfs/file.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; fs/reiserfs/inode.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/ipvlan/ipvlan_main.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ipvlan/ipvlan_core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ipvlan/ipvlan_l3s.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ipvlan/ipvlan_core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_dim.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_tc.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/broadcom/bnxt/bnxt.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/vmxnet3/vmxnet3_ethtool.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/vmxnet3/vmxnet3_drv.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/ethernet/chelsio/cxgb4/sge.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/chelsio/cxgb4/clip_tbl.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/ethernet/cisco/enic/enic_pp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/ethernet/cisco/enic/enic_main.o:include/linux/memcontrol.h:819: first defined here
..

vim +819 include/linux/memcontrol.h

   817	
   818	int task_under_memcg_protection(struct task_struct *p)
 > 819	{
   820		return 0;
   821	}
   822	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36392 bytes --]

  reply	other threads:[~2019-08-18 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-18  4:24 Yafang Shao
2019-08-18 14:08 ` kbuild test robot [this message]
2019-08-18 14:08 ` kbuild test robot
2019-08-18 17:11 ` Souptick Joarder
2019-08-19  1:03   ` Yafang Shao
2019-08-19  7:31 ` Michal Hocko
2019-08-19  8:15   ` Yafang Shao
2019-08-20  6:31     ` Michal Hocko
2019-08-20  7:02       ` Yafang Shao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201908182208.GX5e0n98%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=guro@fb.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=laoar.shao@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --cc=rdunlap@infradead.org \
    --cc=vdavydov.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox