Re: [Patch v2 1/4] KVM: Support for guest page hinting

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

 



Hi Nitesh,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.13 next-20170914]
[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/Nitesh-Narayan-Lal/KVM-Guest-page-hinting/20170915-021634
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   mm/page_alloc.o: In function `free_pages_prepare':
>> mm/page_alloc.c:1057: undefined reference to `arch_free_page'
   mm/page_alloc.c:1057:(.text+0x16a4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `arch_free_page'
   mm/page_alloc.o: In function `post_alloc_hook':
>> mm/page_alloc.c:1752: undefined reference to `arch_alloc_page'
   mm/page_alloc.c:1752:(.text+0x2324): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `arch_alloc_page'
   mm/page_alloc.o: In function `free_pages_prepare':
>> mm/page_alloc.c:1057: undefined reference to `arch_free_page'
   mm/page_alloc.c:1057:(.text+0x30e8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `arch_free_page'
   mm/page_alloc.o: In function `post_alloc_hook':
>> mm/page_alloc.c:1752: undefined reference to `arch_alloc_page'
   mm/page_alloc.c:1752:(.text+0x3c1c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `arch_alloc_page'
>> mm/page_alloc.c:1752: undefined reference to `arch_alloc_page'
   mm/page_alloc.c:1752:(.text+0x430c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `arch_alloc_page'

vim +1057 mm/page_alloc.c

4db7548c Mel Gorman         2016-05-19  1005  
e2769dbd Mel Gorman         2016-05-19  1006  static __always_inline bool free_pages_prepare(struct page *page,
e2769dbd Mel Gorman         2016-05-19  1007  					unsigned int order, bool check_free)
4db7548c Mel Gorman         2016-05-19  1008  {
e2769dbd Mel Gorman         2016-05-19  1009  	int bad = 0;
4db7548c Mel Gorman         2016-05-19  1010  
4db7548c Mel Gorman         2016-05-19  1011  	VM_BUG_ON_PAGE(PageTail(page), page);
4db7548c Mel Gorman         2016-05-19  1012  
e2769dbd Mel Gorman         2016-05-19  1013  	trace_mm_page_free(page, order);
e2769dbd Mel Gorman         2016-05-19  1014  	kmemcheck_free_shadow(page, order);
4db7548c Mel Gorman         2016-05-19  1015  
e2769dbd Mel Gorman         2016-05-19  1016  	/*
e2769dbd Mel Gorman         2016-05-19  1017  	 * Check tail pages before head page information is cleared to
e2769dbd Mel Gorman         2016-05-19  1018  	 * avoid checking PageCompound for order-0 pages.
e2769dbd Mel Gorman         2016-05-19  1019  	 */
e2769dbd Mel Gorman         2016-05-19  1020  	if (unlikely(order)) {
e2769dbd Mel Gorman         2016-05-19  1021  		bool compound = PageCompound(page);
e2769dbd Mel Gorman         2016-05-19  1022  		int i;
e2769dbd Mel Gorman         2016-05-19  1023  
e2769dbd Mel Gorman         2016-05-19  1024  		VM_BUG_ON_PAGE(compound && compound_order(page) != order, page);
e2769dbd Mel Gorman         2016-05-19  1025  
9a73f61b Kirill A. Shutemov 2016-07-26  1026  		if (compound)
9a73f61b Kirill A. Shutemov 2016-07-26  1027  			ClearPageDoubleMap(page);
e2769dbd Mel Gorman         2016-05-19  1028  		for (i = 1; i < (1 << order); i++) {
e2769dbd Mel Gorman         2016-05-19  1029  			if (compound)
e2769dbd Mel Gorman         2016-05-19  1030  				bad += free_tail_pages_check(page, page + i);
e2769dbd Mel Gorman         2016-05-19  1031  			if (unlikely(free_pages_check(page + i))) {
e2769dbd Mel Gorman         2016-05-19  1032  				bad++;
e2769dbd Mel Gorman         2016-05-19  1033  				continue;
e2769dbd Mel Gorman         2016-05-19  1034  			}
e2769dbd Mel Gorman         2016-05-19  1035  			(page + i)->flags &= ~PAGE_FLAGS_CHECK_AT_PREP;
e2769dbd Mel Gorman         2016-05-19  1036  		}
e2769dbd Mel Gorman         2016-05-19  1037  	}
bda807d4 Minchan Kim        2016-07-26  1038  	if (PageMappingFlags(page))
4db7548c Mel Gorman         2016-05-19  1039  		page->mapping = NULL;
c4159a75 Vladimir Davydov   2016-08-08  1040  	if (memcg_kmem_enabled() && PageKmemcg(page))
4949148a Vladimir Davydov   2016-07-26  1041  		memcg_kmem_uncharge(page, order);
e2769dbd Mel Gorman         2016-05-19  1042  	if (check_free)
e2769dbd Mel Gorman         2016-05-19  1043  		bad += free_pages_check(page);
e2769dbd Mel Gorman         2016-05-19  1044  	if (bad)
e2769dbd Mel Gorman         2016-05-19  1045  		return false;
4db7548c Mel Gorman         2016-05-19  1046  
e2769dbd Mel Gorman         2016-05-19  1047  	page_cpupid_reset_last(page);
e2769dbd Mel Gorman         2016-05-19  1048  	page->flags &= ~PAGE_FLAGS_CHECK_AT_PREP;
e2769dbd Mel Gorman         2016-05-19  1049  	reset_page_owner(page, order);
4db7548c Mel Gorman         2016-05-19  1050  
4db7548c Mel Gorman         2016-05-19  1051  	if (!PageHighMem(page)) {
4db7548c Mel Gorman         2016-05-19  1052  		debug_check_no_locks_freed(page_address(page),
e2769dbd Mel Gorman         2016-05-19  1053  					   PAGE_SIZE << order);
4db7548c Mel Gorman         2016-05-19  1054  		debug_check_no_obj_freed(page_address(page),
e2769dbd Mel Gorman         2016-05-19  1055  					   PAGE_SIZE << order);
4db7548c Mel Gorman         2016-05-19  1056  	}
e2769dbd Mel Gorman         2016-05-19 @1057  	arch_free_page(page, order);
e2769dbd Mel Gorman         2016-05-19  1058  	kernel_poison_pages(page, 1 << order, 0);
e2769dbd Mel Gorman         2016-05-19  1059  	kernel_map_pages(page, 1 << order, 0);
29b52de1 seokhoon.yoon      2016-05-20  1060  	kasan_free_pages(page, order);
4db7548c Mel Gorman         2016-05-19  1061  
4db7548c Mel Gorman         2016-05-19  1062  	return true;
4db7548c Mel Gorman         2016-05-19  1063  }
4db7548c Mel Gorman         2016-05-19  1064  

:::::: The code at line 1057 was first introduced by commit
:::::: e2769dbdc51f1baa1908ecf6c84d50f19577e1db mm, page_alloc: don't duplicate code in free_pcp_prepare

:::::: TO: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
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]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux