The patch titled simplify-cleanup_workqueue_thread-fix2 has been removed from the -mm tree. Its filename was simplify-cleanup_workqueue_thread-fix2.patch This patch was dropped because it was folded into simplify-cleanup_workqueue_thread.patch ------------------------------------------------------ Subject: simplify-cleanup_workqueue_thread-fix2 From: Oleg Nesterov <oleg@xxxxxxxxxx> But it is a bit silly to have 2 variables, we need only one. Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/workqueue.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff -puN kernel/workqueue.c~simplify-cleanup_workqueue_thread-fix2 kernel/workqueue.c --- a/kernel/workqueue.c~simplify-cleanup_workqueue_thread-fix2 +++ a/kernel/workqueue.c @@ -330,7 +330,7 @@ static void insert_wq_barrier(struct cpu static int flush_cpu_workqueue(struct cpu_workqueue_struct *cwq) { - int ret; + int active; if (cwq->thread == current) { /* @@ -338,11 +338,11 @@ static int flush_cpu_workqueue(struct cp * it by hand rather than deadlocking. */ run_workqueue(cwq); - ret = 1; + active = 1; } else { struct wq_barrier barr; - int active = 0; + active = 0; spin_lock_irq(&cwq->lock); if (!list_empty(&cwq->worklist) || cwq->current_work != NULL) { insert_wq_barrier(cwq, &barr, 1); @@ -352,10 +352,9 @@ static int flush_cpu_workqueue(struct cp if (active) wait_for_completion(&barr.done); - - ret = active; } - return ret; + + return active; } /** _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are freezer-close-potential-race-between-refrigerator-and-thaw_tasks.patch freezer-fix-vfork-problem.patch freezer-take-kernel_execve-into-consideration.patch freezer-fix-kthread_create-vs-freezer-theoretical-race.patch freezer-fix-pf_nofreeze-vs-freezeable-race.patch freezer-move-frozen_process-to-kernel-power-processc.patch recalc_sigpending_tsk-fixes.patch simplify-cleanup_workqueue_thread.patch simplify-cleanup_workqueue_thread-fix2.patch signalfd-retrieve-multiple-signals-with-one-read-call-tidy.patch libata-core-convert-to-use-cancel_rearming_delayed_work.patch freezer-run-show_state-when-freezing-times-out.patch clone-flag-clone_parent_tidptr-leaves-invalid-results-in-memory.patch use-write_trylock_irqsave-in-ptrace_attach.patch fix-stop_machine_run-problem-with-naughty-real-time-process.patch cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process.patch cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process-fix.patch percpu_counters-use-cpu-notifiers.patch percpu_counters-use-for_each_online_cpu.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html