All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [tip:numa/core 0/4] mm/huge_memory.c:801:41: error: '__GFP_NO_KSWAPD' undeclared
Date: Sat, 20 Oct 2012 02:30:05 +0000	[thread overview]
Message-ID: <20121020023005.GJ9177@yliu-dev.sh.intel.com> (raw)

Hi Peter,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git numa/core
head:   aacc9ac4dc832613f12e4022f4a51f5d0d5136a7
commit: 929813de50438aea37e4f42506495301628271f9 [0/4] Merge branch 'linus' into numa/core
config: x86_64-allyesconfig # make ARCH=x86_64 allyesconfig

All error/warnings:

mm/huge_memory.c: In function 'do_huge_pmd_prot_none':
mm/huge_memory.c:801:41: error: '__GFP_NO_KSWAPD' undeclared (first use in this function)
mm/huge_memory.c:801:41: note: each undeclared identifier is reported only once for each function it appears in
mm/huge_memory.c: In function '__split_huge_page_map':
mm/huge_memory.c:1509:2: error: implicit declaration of function 'get_pmd_huge_pte' [-Werror=implicit-function-declaration]
mm/huge_memory.c:1509:10: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors

vim +801 mm/huge_memory.c

713f9376 Peter Zijlstra 2012-10-12  785  	WARN_ON((((unsigned long)page->mapping & PAGE_MAPPING_KSM)));
713f9376 Peter Zijlstra 2012-10-12  786  	BUG_ON(PageSwapCache(page));
39d6cb39 Peter Zijlstra 2012-07-17  787  
713f9376 Peter Zijlstra 2012-10-12  788  	spin_unlock(&mm->page_table_lock);
39d6cb39 Peter Zijlstra 2012-07-17  789  
713f9376 Peter Zijlstra 2012-10-12  790  	lock_page(page);
713f9376 Peter Zijlstra 2012-10-12  791  	spin_lock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12  792  	if (unlikely(!pmd_same(*pmd, entry))) {
713f9376 Peter Zijlstra 2012-10-12  793  		spin_unlock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12  794  		unlock_page(page);
713f9376 Peter Zijlstra 2012-10-12  795  		put_page(page);
713f9376 Peter Zijlstra 2012-10-12  796  		return;
713f9376 Peter Zijlstra 2012-10-12  797  	}
713f9376 Peter Zijlstra 2012-10-12  798  	spin_unlock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12  799  
713f9376 Peter Zijlstra 2012-10-12  800  	new_page = alloc_pages_node(node,
713f9376 Peter Zijlstra 2012-10-12 @801  	    (GFP_TRANSHUGE | GFP_THISNODE) & ~(__GFP_NO_KSWAPD | __GFP_WAIT),
713f9376 Peter Zijlstra 2012-10-12  802  	    HPAGE_PMD_ORDER);
713f9376 Peter Zijlstra 2012-10-12  803  
713f9376 Peter Zijlstra 2012-10-12  804  	WARN_ON(PageLRU(new_page));
713f9376 Peter Zijlstra 2012-10-12  805  
713f9376 Peter Zijlstra 2012-10-12  806  	if (!new_page)
713f9376 Peter Zijlstra 2012-10-12  807  		goto alloc_fail;
713f9376 Peter Zijlstra 2012-10-12  808  
713f9376 Peter Zijlstra 2012-10-12  809  	lru = PageLRU(page);

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-10-20  2:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121020023005.GJ9177@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.