Re: 2.6.7-mm6

William Lee Irwin III
2004-07-09T02:52:14Z

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