Re: [PATCH] mm, memcg: skip killing processes under memcg protection at first scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux