summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-21 16:47:49 +0200
committerClark Williams <williams@redhat.com>2012-04-13 11:01:29 -0500
commit75ca93c471da4eecec53a922577a83e6906f1714 (patch)
tree2328ba258b4d0ea95fa46c6a4e636776996a6809 /mm
parent4a44fb84a3fbb1a368cf71b4d2e6b3eb86460a13 (diff)
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 f0c38c20ad44..7cc9626e334e 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2095,8 +2095,8 @@ __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order,
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,