Re: 2.6.7-mm6

From: William Lee Irwin III
Date: Thu Jul 08 2004 - 21:54:05 EST


David S. Miller wrote:
>> The parent's regs (stored in current_thread_info() at trap time,
>> and also needed by copy_thread() processing) will also be garbage
>> since we're avoiding the fork syscall trap.
>> In short, this won't work :)
>> This is why I use kernel_thread(). Why is that so bad?

On Fri, Jul 09, 2004 at 12:45:05PM +1000, Nick Piggin wrote:
> We could make CLONE_IDLETASK clones not do the wakeup?
> Ingo? I guess an alternative is to have the arch explicitly
> make a call to dequeue it.

This is all just context switching and bootstrap ordering, but I really
have other vastly more urgent things to do at the moment than cleanups.
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.


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