Re: [PATCH] kthread: NUMA aware kthread_create_on_cpu()

Eric Dumazet
2010-11-29T09:38:52Z

Le lundi 29 novembre 2010 à 10:05 +0100, Andi Kleen a écrit :
> On Mon, Nov 29, 2010 at 12:37:04AM +0100, Eric Dumazet wrote:

> > Hmm, I meant stack (the thing that might be trashed a lot in ksoftirqd),
> > so it is included in struct thread_info
>
> task_struct is quite hot too. Also your original mail said
> task struct i believe.
>
> > And got correct stacks. Are you sure we must use PREFERRED ?
>
> Yes.

I'll respin a patch not using mempolicy but direct node, for both
thread_info and task_struct allocations.