Re: [PATCH] mm: reset migratetype if the range spans two pageblocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xishi,

[auto build test ERROR on v4.3-rc5 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Xishi-Qiu/mm-reset-migratetype-if-the-range-spans-two-pageblocks/20151016-180949
config: i386-randconfig-s1-201541 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   mm/page_alloc.c: In function '__free_one_page':
>> mm/page_alloc.c:731:3: error: implicit declaration of function 'change_pageblock_range' [-Werror=implicit-function-declaration]
      change_pageblock_range(page, order, migratetype);
      ^
   mm/page_alloc.c: At top level:
>> mm/page_alloc.c:1515:13: warning: conflicting types for 'change_pageblock_range'
    static void change_pageblock_range(struct page *pageblock_page,
                ^
>> mm/page_alloc.c:1515:13: error: static declaration of 'change_pageblock_range' follows non-static declaration
   mm/page_alloc.c:731:3: note: previous implicit declaration of 'change_pageblock_range' was here
      change_pageblock_range(page, order, migratetype);
      ^
   cc1: some warnings being treated as errors

vim +/change_pageblock_range +731 mm/page_alloc.c

   725	
   726		list_add(&page->lru, &zone->free_area[order].free_list[migratetype]);
   727	out:
   728		zone->free_area[order].nr_free++;
   729		/* If the range spans two pageblocks, reset the migratetype. */
   730		if (order > pageblock_order)
 > 731			change_pageblock_range(page, order, migratetype);
   732	}
   733	
   734	static inline int free_pages_check(struct page *page)

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]