[PATCH v1 02/19] mm/compaction: support non-lru movable page migration

kbuild test robot lkp at intel.com
Fri Mar 11 08:11:19 UTC 2016


Hi Minchan,

[auto build test ERROR on v4.5-rc7]
[cannot apply to next-20160310]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Minchan-Kim/Support-non-lru-page-migration/20160311-153649
config: x86_64-nfsroot (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from mm/compaction.c:12:0:
>> include/linux/compaction.h:87:20: error: static declaration of 'isolate_movable_page' follows non-static declaration
    static inline bool isolate_movable_page(struct page *page, isolate_mode_t mode)
                       ^
   In file included from mm/compaction.c:11:0:
   include/linux/migrate.h:36:13: note: previous declaration of 'isolate_movable_page' was here
    extern bool isolate_movable_page(struct page *page, isolate_mode_t mode);
                ^
   In file included from mm/compaction.c:12:0:
>> include/linux/compaction.h:92:20: error: static declaration of 'putback_movable_page' follows non-static declaration
    static inline void putback_movable_page(struct page *page)
                       ^
   In file included from mm/compaction.c:11:0:
   include/linux/migrate.h:37:13: note: previous declaration of 'putback_movable_page' was here
    extern void putback_movable_page(struct page *page);
                ^

vim +/isolate_movable_page +87 include/linux/compaction.h

    81	
    82	static inline bool compaction_deferred(struct zone *zone, int order)
    83	{
    84		return true;
    85	}
    86	
  > 87	static inline bool isolate_movable_page(struct page *page, isolate_mode_t mode)
    88	{
    89		return false;
    90	}
    91	
  > 92	static inline void putback_movable_page(struct page *page)
    93	{
    94	}
    95	#endif /* CONFIG_COMPACTION */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 25444 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160311/30355ec3/attachment-0001.obj>


More information about the dri-devel mailing list