lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606241959.RM8ORGlk%fengguang.wu@intel.com>
Date:	Fri, 24 Jun 2016 19:39:16 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Vlastimil Babka <vbabka@...e.cz>
Cc:	kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	Michal Hocko <mhocko@...nel.org>,
	Mel Gorman <mgorman@...hsingularity.net>,
	Joonsoo Kim <iamjoonsoo.kim@....com>,
	David Rientjes <rientjes@...gle.com>,
	Rik van Riel <riel@...hat.com>,
	Vlastimil Babka <vbabka@...e.cz>
Subject: Re: [PATCH v3 07/17] mm, compaction: introduce direct compaction
 priority

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@...nel.org>
:::::: CC: Stephen Rothwell <sfr@...b.auug.org.au>

---
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" (11801 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ