aboutsummaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/percpu.c')
-rw-r--r--mm/percpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 3f9f182f9b44..42ab0024a6ed 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1181,12 +1181,13 @@ static void pcpu_reclaim(struct work_struct *work)
1181 } 1181 }
1182 1182
1183 spin_unlock_irq(&pcpu_lock); 1183 spin_unlock_irq(&pcpu_lock);
1184 mutex_unlock(&pcpu_alloc_mutex);
1185 1184
1186 list_for_each_entry_safe(chunk, next, &todo, list) { 1185 list_for_each_entry_safe(chunk, next, &todo, list) {
1187 pcpu_depopulate_chunk(chunk, 0, pcpu_unit_size); 1186 pcpu_depopulate_chunk(chunk, 0, pcpu_unit_size);
1188 free_pcpu_chunk(chunk); 1187 free_pcpu_chunk(chunk);
1189 } 1188 }
1189
1190 mutex_unlock(&pcpu_alloc_mutex);
1190} 1191}
1191 1192
1192/** 1193/**