blob: 8588e93d645af1461d51ac76aa36c4af4043c446 [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
@@ -2240,8 +2240,8 @@ __alloc_pages_direct_compact(gfp_t gfp_m
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,