aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-21 16:47:49 +0200
committerAnders Roxell <anders.roxell@linaro.org>2015-05-08 22:30:47 +0200
commit82fdca8d44df526fcf1e3099b162d20486b1acf1 (patch)
tree4f1e8988cb2ee759786bc2f7af478f243710b697 /mm
parent49f7454997880a34a51f4e5fdf4f50e15d384990 (diff)
mm-page-alloc-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
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 afbc3dfa2b0c..db0e478362f3 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2382,8 +2382,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order,
count_vm_event(COMPACTSTALL);
/* 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,