Re: [PATCH 2/3] stop_machine: simplify
- From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
- Date: Fri, 11 Jul 2008 17:51:14 +1000
On Thursday 10 July 2008 10:30:37 Max Krasnyansky wrote:
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
No... I tried it, and it killed my machine. I didn't chase it for the moment,
but it's on the "experimental" end of my patch queue.
Will play with it again and report,
Rusty.
--
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/
- Follow-Ups:
- Re: [PATCH 2/3] stop_machine: simplify
- From: Mathieu Desnoyers
- Re: [PATCH 2/3] stop_machine: simplify
- References:
- [PATCH 0/3] stop_machine enhancements and simplifications
- From: Rusty Russell
- [PATCH 2/3] stop_machine: simplify
- From: Rusty Russell
- Re: [PATCH 2/3] stop_machine: simplify
- From: Max Krasnyansky
- [PATCH 0/3] stop_machine enhancements and simplifications
- Prev by Date: Re: [PATCH] ftrace: Documentation
- Next by Date: xfs bug in 2.6.26-rc9
- Previous by thread: Re: [PATCH 2/3] stop_machine: simplify
- Next by thread: Re: [PATCH 2/3] stop_machine: simplify
- Index(es):