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-f004-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/appletalk/ddp.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/appletalk/aarp.o:include/linux/memcontrol.h:819: first defined here
   ld: net/appletalk/atalk_proc.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/appletalk/aarp.o:include/linux/memcontrol.h:819: first defined here
   ld: net/appletalk/sysctl_net_atalk.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/appletalk/aarp.o:include/linux/memcontrol.h:819: first defined here
--
   ld: fs/dlm/lowcomms.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; fs/dlm/config.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/connector/connector.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/connector/cn_queue.o:include/linux/memcontrol.h:819: first defined here
--
   ld: net/netfilter/nft_chain_filter.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
   ld: net/netfilter/nft_payload.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
   ld: net/netfilter/nft_meta.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
   ld: net/netfilter/nft_rt.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
   ld: net/netfilter/nft_exthdr.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
   ld: net/netfilter/nft_chain_route.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_tables_api.o:include/linux/memcontrol.h:819: first defined here
--
   ld: net/netfilter/nf_flow_table_ip.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/netfilter/nf_flow_table_core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: net/openvswitch/datapath.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/dp_notify.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/flow.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/flow_netlink.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/flow_table.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/meter.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/vport.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/vport-internal_dev.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/vport-netdev.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
   ld: net/openvswitch/conntrack.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; net/openvswitch/actions.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/mfd/cs47l15-tables.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/mfd/madera-core.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/mfd/cs47l92-tables.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/mfd/madera-core.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/wireless/ath/regd.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/hw.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/key.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/dfs_pattern_detector.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/dfs_pri_detector.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/debug.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/trace.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/main.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/wireless/ath/wcn36xx/dxe.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/wcn36xx/txrx.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/wcn36xx/smd.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/wcn36xx/pmc.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/wcn36xx/debug.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/ath/wcn36xx/testmode.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/ath/wcn36xx/main.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/wireless/intersil/p54/fwio.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/intersil/p54/eeprom.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/intersil/p54/txrx.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/intersil/p54/eeprom.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/intersil/p54/main.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/intersil/p54/eeprom.o:include/linux/memcontrol.h:819: first defined here
   ld: drivers/net/wireless/intersil/p54/led.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/intersil/p54/eeprom.o:include/linux/memcontrol.h:819: first defined here
--
   ld: drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.o: in function `task_under_memcg_protection':
>> include/linux/memcontrol.h:819: multiple definition of `task_under_memcg_protection'; drivers/net/wireless/mediatek/mt76/mt76x0/usb.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