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>2015-02-13 22:20:24 (GMT)
commit5abd3e70c9f1fa6af2f759053ca67cc916c3fabf (patch)
tree2a035109efdaac77c2abc51545189b40cbf0b6e9 /mm
parent69b7ca27a5585956571c6db57e5926c8194d2cae (diff)
downloadlinux-fsl-qoriq-5abd3e70c9f1fa6af2f759053ca67cc916c3fabf.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 2447b63..280d015 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2378,8 +2378,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,