Re: 2.6.7-mm6

From: Ingo Molnar
Date: Fri Jul 09 2004 - 01:29:53 EST



* Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> >Please present a self-contained fixed-up init_idle() cleanup for me to
> >testboot. Even the one in -mm is not so, as it depends on later patches
> >to even compile.
>
> The patch I just sent (which is on top of -mm6) should hopefully
> work... if you feel like testing a solution that may still get
> vetoed by Ingo.

looks fine to me. It somewhat reduces the utility of copy_process()
[which we primarily introduced to enable wakeup-less SMP bootstrapping],
but i cannot see any good solution besides moving copy_thread() out of
copy_process(), which is unsafe. (ptrace could potentially access the
new task before copy_thread() is done, etc.) So i'd go for the simple
solution of CLONE_IDLETASK not doing a wakeup.

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