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

From: Eric Dumazet
Date: Mon Nov 29 2010 - 04:39:02 EST


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.





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