Re: [PATCH v3 07/17] mm, compaction: introduce direct compaction priority

From: kbuild test robot
Date: Fri Jun 24 2016 - 07:40:41 EST


Hi,

[auto build test ERROR on next-20160624]
[cannot apply to tip/perf/core v4.7-rc4 v4.7-rc3 v4.7-rc2 v4.7-rc4]
[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/Vlastimil-Babka/make-direct-compaction-more-deterministic/20160624-180056
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

All errors (new ones prefixed by >>):

In file included from mm/page_alloc.c:60:0:
>> include/linux/migrate.h:79:19: error: redefinition of 'PageMovable'
static inline int PageMovable(struct page *page) { return 0; };
^
In file included from mm/page_alloc.c:56:0:
include/linux/compaction.h:166:19: note: previous definition of 'PageMovable' was here
static inline int PageMovable(struct page *page)
^
In file included from mm/page_alloc.c:60:0:
>> include/linux/migrate.h:80:20: error: redefinition of '__SetPageMovable'
static inline void __SetPageMovable(struct page *page,
^
In file included from mm/page_alloc.c:56:0:
include/linux/compaction.h:170:20: note: previous definition of '__SetPageMovable' was here
static inline void __SetPageMovable(struct page *page,
^
In file included from mm/page_alloc.c:60:0:
>> include/linux/migrate.h:84:20: error: redefinition of '__ClearPageMovable'
static inline void __ClearPageMovable(struct page *page)
^
In file included from mm/page_alloc.c:56:0:
include/linux/compaction.h:175:20: note: previous definition of '__ClearPageMovable' was here
static inline void __ClearPageMovable(struct page *page)
^
--
In file included from mm/compaction.c:13:0:
>> include/linux/compaction.h:166:19: error: redefinition of 'PageMovable'
static inline int PageMovable(struct page *page)
^
In file included from mm/compaction.c:12:0:
include/linux/migrate.h:79:19: note: previous definition of 'PageMovable' was here
static inline int PageMovable(struct page *page) { return 0; };
^
In file included from mm/compaction.c:13:0:
>> include/linux/compaction.h:170:20: error: redefinition of '__SetPageMovable'
static inline void __SetPageMovable(struct page *page,
^
In file included from mm/compaction.c:12:0:
include/linux/migrate.h:80:20: note: previous definition of '__SetPageMovable' was here
static inline void __SetPageMovable(struct page *page,
^
In file included from mm/compaction.c:13:0:
>> include/linux/compaction.h:175:20: error: redefinition of '__ClearPageMovable'
static inline void __ClearPageMovable(struct page *page)
^
In file included from mm/compaction.c:12:0:
include/linux/migrate.h:84:20: note: previous definition of '__ClearPageMovable' was here
static inline void __ClearPageMovable(struct page *page)
^

vim +/__SetPageMovable +80 include/linux/migrate.h

7039e1db Peter Zijlstra 2012-10-25 73
e8c9f6f5 Minchan Kim 2016-06-24 74 #ifdef CONFIG_COMPACTION
e8c9f6f5 Minchan Kim 2016-06-24 75 extern int PageMovable(struct page *page);
e8c9f6f5 Minchan Kim 2016-06-24 76 extern void __SetPageMovable(struct page *page, struct address_space *mapping);
e8c9f6f5 Minchan Kim 2016-06-24 77 extern void __ClearPageMovable(struct page *page);
e8c9f6f5 Minchan Kim 2016-06-24 78 #else
e8c9f6f5 Minchan Kim 2016-06-24 @79 static inline int PageMovable(struct page *page) { return 0; };
e8c9f6f5 Minchan Kim 2016-06-24 @80 static inline void __SetPageMovable(struct page *page,
e8c9f6f5 Minchan Kim 2016-06-24 81 struct address_space *mapping)
e8c9f6f5 Minchan Kim 2016-06-24 82 {
e8c9f6f5 Minchan Kim 2016-06-24 83 }
e8c9f6f5 Minchan Kim 2016-06-24 @84 static inline void __ClearPageMovable(struct page *page)
e8c9f6f5 Minchan Kim 2016-06-24 85 {
e8c9f6f5 Minchan Kim 2016-06-24 86 }
e8c9f6f5 Minchan Kim 2016-06-24 87 #endif

:::::: The code at line 80 was first introduced by commit
:::::: e8c9f6f50a2424f46bc72557af356f4be8f835fe mm: fix build warnings in <linux/compaction.h>

:::::: TO: Minchan Kim <minchan@xxxxxxxxxx>
:::::: CC: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data