summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-21 14:47:49 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:03 (GMT)
commit7becf764d2b347611fbf1c47afd192b69dcbe968 (patch)
tree7d54ed522a75cc3e44aa3004bc7efcb99089d795 /mm
parent58d4fceaf52049223eb96a520bd62ff9ba9bb319 (diff)
downloadlinux-fsl-qoriq-7becf764d2b347611fbf1c47afd192b69dcbe968.tar.xz
mm-page-alloc-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 4f4d188..22a15d2 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2316,8 +2316,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order,
struct page *page;
/* Page migration frees to the PCP lists but we want merging */
- drain_pages(get_cpu());
- put_cpu();
+ drain_pages(get_cpu_light());
+ put_cpu_light();
page = get_page_from_freelist(gfp_mask, nodemask,
order, zonelist, high_zoneidx,