blob: a6ef431d2a06cad7ee5650fce6b33b58a74711dd [file] [log] [blame]
Subject: mm-page-alloc-fix.patch
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 21 Jul 2011 16:47:49 +0200
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
mm/page_alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-stable/mm/page_alloc.c
===================================================================
--- linux-stable.orig/mm/page_alloc.c
+++ linux-stable/mm/page_alloc.c
@@ -2180,8 +2180,8 @@ __alloc_pages_direct_compact(gfp_t gfp_m
if (*did_some_progress != COMPACT_SKIPPED) {
/* 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,