Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515940

Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw
Date 2016-11-07 10:30 +0100
Message-ID <sAOpA-1ar-29@gated-at.bofh.it> (permalink)
References <sANDc-tf-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Aneesh,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.9-rc4 next-20161028]
[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/Aneesh-Kumar-K-V/mm-move-vma_is_anonymous-check-within-pmd_move_must_withdraw/20161107-164033
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x006-201645 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   mm/huge_memory.c: In function 'pmd_move_must_withdraw':
>> mm/huge_memory.c:1441:58: error: 'vma' undeclared (first use in this function)
     return (new_pmd_ptl != old_pmd_ptl) && vma_is_anonymous(vma);
                                                             ^~~
   mm/huge_memory.c:1441:58: note: each undeclared identifier is reported only once for each function it appears in
>> mm/huge_memory.c:1442:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/vma +1441 mm/huge_memory.c

  1435		/*
  1436		 * With split pmd lock we also need to move preallocated
  1437		 * PTE page table if new_pmd is on different PMD page table.
  1438		 *
  1439		 * We also don't deposit and withdraw tables for file pages.
  1440		 */
> 1441		return (new_pmd_ptl != old_pmd_ptl) && vma_is_anonymous(vma);
> 1442	}
  1443	#endif
  1444	
  1445	bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-11-07 09:40 +0100
  [PATCH 2/2] mm: THP page cache support for ppc64 "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-11-07 09:40 +0100
    Re: [PATCH 2/2] mm: THP page cache support for ppc64 "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-11-11 11:20 +0100
      Re: [PATCH 2/2] mm: THP page cache support for ppc64 "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-11-11 13:20 +0100
        Re: [PATCH 2/2] mm: THP page cache support for ppc64 "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-11-11 17:30 +0100
  Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-11-07 10:20 +0100
  Re: [PATCH 1/2] mm: move vma_is_anonymous check within  pmd_move_must_withdraw kbuild test robot <lkp@intel.com> - 2016-11-07 10:30 +0100
    Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-11-07 12:50 +0100
    [PATCH V2] mm: move vma_is_anonymous check within pmd_move_must_withdraw "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-11-07 15:50 +0100
      Re: [PATCH V2] mm: move vma_is_anonymous check within  pmd_move_must_withdraw "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-11-11 11:10 +0100

csiph-web