aboutsummaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-21 16:47:49 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-11-14 12:11:10 -0500
commit0322ff21d5b08aec33f61f0e67e46bb1d9d95ab1 (patch)
tree93f0df9840254e441e98f4dbd90d3ef7649be50b /mm/page_alloc.c
parentf86844064df9bf804cd1eb9516871f2e3d2e77b7 (diff)
mm-page-alloc-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm/page_alloc.c')
-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 efa54e7ce53d..d892db719b9d 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1971,8 +1971,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,