Re: [RFC PATCH 3/3] cpu-hotplug: Replace per-subsystem mutexes with get_online_cpus()

From: Oleg Nesterov
Date: Thu Nov 15 2007 - 11:36:47 EST


On 11/15, Gautham R Shenoy wrote:
>
> This patch converts the known per-subsystem mutexes to get_online_cpus
> put_online_cpus. It also eliminates the CPU_LOCK_ACQUIRE
> and CPU_LOCK_RELEASE hotplug notification events.
>
> Signed-off-by: Gautham R Shenoy <ego@xxxxxxxxxx>
> ---
> include/linux/notifier.h | 4 +---
> kernel/cpu.c | 4 ----
> kernel/sched.c | 25 +++++++++----------------
> kernel/workqueue.c | 35 +++++++++++++++--------------------
> mm/slab.c | 18 +++++++++++-------

Can't really comment the changes outside the workqueue.c, but imho the
whole series is very good.

Oleg.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/