Re: [PATCHv2 2/3] mm: Do not loose dirty and access bits in pmdp_invalidate()

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

 



Hi Kirill,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.12-rc5 next-20170615]
[cannot apply to tip/x86/core]
[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/Kirill-A-Shutemov/Do-not-loose-dirty-bit-on-THP-pages/20170616-030455
base:   git://git.cmpxchg.org/linux-mmotm.git master
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/01org/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/pgtable-generic.c: In function 'pmdp_invalidate':
>> mm/pgtable-generic.c:185:14: error: implicit declaration of function 'pmdp_establish' [-Werror=implicit-function-declaration]
     pmd_t old = pmdp_establish(pmdp, pmd_mknotpresent(*pmdp));
                 ^~~~~~~~~~~~~~
>> mm/pgtable-generic.c:185:14: error: invalid initializer
   cc1: some warnings being treated as errors

vim +/pmdp_establish +185 mm/pgtable-generic.c

   179	#endif
   180	
   181	#ifndef __HAVE_ARCH_PMDP_INVALIDATE
   182	pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address,
   183			     pmd_t *pmdp)
   184	{
 > 185		pmd_t old = pmdp_establish(pmdp, pmd_mknotpresent(*pmdp));
   186		if (pmd_present(old))
   187			flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE);
   188		return old;

---
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 Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux