[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201511190857.VC71JCzM%fengguang.wu@intel.com>
Date: Thu, 19 Nov 2015 08:40:19 +0800
From: kbuild test robot <lkp@...el.com>
To: David Rientjes <rientjes@...gle.com>
Cc: kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [patch -mm] mm, vmalloc: remove VM_VPAGES
Hi David,
[auto build test WARNING on: next-20151118]
[also build test WARNING on: v4.4-rc1]
url: https://github.com/0day-ci/linux/commits/David-Rientjes/mm-vmalloc-remove-VM_VPAGES/20151119-083326
config: x86_64-randconfig-x015-11181928 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from include/linux/linkage.h:4:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/vmalloc.h:4,
from mm/vmalloc.c:11:
mm/vmalloc.c: In function '__vunmap':
mm/vmalloc.c:1484:21: error: 'VM_VPAGES' undeclared (first use in this function)
if (area->flags & VM_VPAGES)
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> mm/vmalloc.c:1484:3: note: in expansion of macro 'if'
if (area->flags & VM_VPAGES)
^
mm/vmalloc.c:1484:21: note: each undeclared identifier is reported only once for each function it appears in
if (area->flags & VM_VPAGES)
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> mm/vmalloc.c:1484:3: note: in expansion of macro 'if'
if (area->flags & VM_VPAGES)
^
vim +/if +1484 mm/vmalloc.c
^1da177e4 Linus Torvalds 2005-04-16 1468 return;
^1da177e4 Linus Torvalds 2005-04-16 1469 }
^1da177e4 Linus Torvalds 2005-04-16 1470
9a11b49a8 Ingo Molnar 2006-07-03 1471 debug_check_no_locks_freed(addr, area->size);
3ac7fe5a4 Thomas Gleixner 2008-04-30 1472 debug_check_no_obj_freed(addr, area->size);
9a11b49a8 Ingo Molnar 2006-07-03 1473
^1da177e4 Linus Torvalds 2005-04-16 1474 if (deallocate_pages) {
^1da177e4 Linus Torvalds 2005-04-16 1475 int i;
^1da177e4 Linus Torvalds 2005-04-16 1476
^1da177e4 Linus Torvalds 2005-04-16 1477 for (i = 0; i < area->nr_pages; i++) {
bf53d6f8f Christoph Lameter 2008-02-04 1478 struct page *page = area->pages[i];
bf53d6f8f Christoph Lameter 2008-02-04 1479
bf53d6f8f Christoph Lameter 2008-02-04 1480 BUG_ON(!page);
bf53d6f8f Christoph Lameter 2008-02-04 1481 __free_page(page);
^1da177e4 Linus Torvalds 2005-04-16 1482 }
^1da177e4 Linus Torvalds 2005-04-16 1483
8757d5fa6 Jan Kiszka 2006-07-14 @1484 if (area->flags & VM_VPAGES)
^1da177e4 Linus Torvalds 2005-04-16 1485 vfree(area->pages);
^1da177e4 Linus Torvalds 2005-04-16 1486 else
^1da177e4 Linus Torvalds 2005-04-16 1487 kfree(area->pages);
^1da177e4 Linus Torvalds 2005-04-16 1488 }
^1da177e4 Linus Torvalds 2005-04-16 1489
^1da177e4 Linus Torvalds 2005-04-16 1490 kfree(area);
^1da177e4 Linus Torvalds 2005-04-16 1491 return;
^1da177e4 Linus Torvalds 2005-04-16 1492 }
:::::: The code at line 1484 was first introduced by commit
:::::: 8757d5fa6b75e8ea906baf0309d49b980e7f9bc9 [PATCH] mm: fix oom roll-back of __vmalloc_area_node
:::::: TO: Jan Kiszka <jan.kiszka@....de>
:::::: CC: Linus Torvalds <torvalds@...osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (23867 bytes)
Powered by blists - more mailing lists