Re: [rfc] balance-on-fork NUMA placement
From: Ingo Molnar
Date: Wed Aug 01 2007 - 02:19:22 EST
* Nick Piggin <npiggin@xxxxxxx> wrote:
> > _after_ the dup_task_struct(). Then change sched_fork() to return a
> > CPU number - hence we dont have a separate sched_fork_suggest_cpu()
> > initialization function, only one, obvious sched_fork() function.
> > Agreed?
>
> That puts task struct, kernel stack, thread info on the wrong node.
ok, i missed that - your patch looks then fine to me.
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/