Re: [PATCH 2/3] stop_machine: simplify

From: Max Krasnyansky
Date: Wed Jul 09 2008 - 20:30:50 EST


Rusty Russell wrote:
stop_machine creates a kthread which creates kernel threads. We can
create those threads directly and simplify things a little. Some care
must be taken with CPU hotunplug, which has special needs, but that code
seems more robust than it was in the past.

Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

Rusty,

You mentioned (in private conversation) that you were going to add some logic that checks whether CPU is running user-space code and not holding any locks to avoid scheduling stop_machine thread on it. Was it supposed to be part of this patch ?

Max
--
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/