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


Groups > linux.kernel > #1544861

Re: [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA
Date 2016-12-20 02:50 +0100
Message-ID <sQhJ0-7iB-15@gated-at.bofh.it> (permalink)
References <sQ9Ls-2nU-33@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 Kirill,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.9 next-20161219]
[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/mm-drop-zap_details-ignore_dirty/20161220-092938
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x003-201651 (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 errors (new ones prefixed by >>):

   mm/madvise.c: In function 'madvise_dontneed':
>> mm/madvise.c:476:7: error: implicit declaration of function 'can_madv_dontneed_vma' [-Werror=implicit-function-declaration]
     if (!can_madv_dontneed_vma(vma))
          ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/can_madv_dontneed_vma +476 mm/madvise.c

   470	 */
   471	static long madvise_dontneed(struct vm_area_struct *vma,
   472				     struct vm_area_struct **prev,
   473				     unsigned long start, unsigned long end)
   474	{
   475		*prev = vma;
 > 476		if (!can_madv_dontneed_vma(vma))
   477			return -EINVAL;
   478	
   479		zap_page_range(vma, start, end - start);

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

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


Thread

[PATCH 1/4] mm: drop zap_details::ignore_dirty "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-12-19 18:20 +0100
  [PATCH 2/4] mm: drop zap_details::check_swap_entries "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-12-19 18:20 +0100
  [PATCH 3/4] mm: drop unused argument of zap_page_range() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-12-19 18:20 +0100
  [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-12-19 18:20 +0100
    Re: [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide  if unmap the VMA kbuild test robot <lkp@intel.com> - 2016-12-20 02:50 +0100
    Re: [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide  if unmap the VMA Michal Hocko <mhocko@kernel.org> - 2016-12-20 11:00 +0100
    [PATCH 4/4] oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-12-20 11:50 +0100

csiph-web