* [memcg:fixes/more-sensible-hugetlb-migration 446/446] include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2
@ 2017-06-07 14:36 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-07 14:36 UTC (permalink / raw)
To: Michal Hocko; +Cc: kbuild-all, linux-mm
[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git fixes/more-sensible-hugetlb-migration
head: 0b4446fb1fa6adba910cd073685d1fa254c9cb44
commit: 0b4446fb1fa6adba910cd073685d1fa254c9cb44 [446/446] hugetlb: add support for preferred node to alloc_huge_page_nodemask
config: i386-alldefconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 0b4446fb1fa6adba910cd073685d1fa254c9cb44
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from mm/page_alloc.c:61:0:
include/linux/migrate.h: In function 'new_page_nodemask':
>> include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2
preferred_nid, nodemask);
^
>> include/linux/migrate.h:40:10: error: 'alloc_huge_page_nodemask' undeclared (first use in this function)
return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/migrate.h:40:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/alloc_huge_page_nodemask +41 include/linux/migrate.h
34 static inline struct page *new_page_nodemask(struct page *page, int preferred_nid,
35 nodemask_t *nodemask)
36 {
37 gfp_t gfp_mask = GFP_USER | __GFP_MOVABLE;
38
39 if (PageHuge(page))
> 40 return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
> 41 preferred_nid, nodemask);
42
43 if (PageHighMem(page)
44 || (zone_idx(page_zone(page)) == ZONE_MOVABLE))
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10335 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-07 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 14:36 [memcg:fixes/more-sensible-hugetlb-migration 446/446] include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2 kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox