Re: [Lse-tech] Re: idle task's task_t allocation on NUMA machines

Martin J. Bligh
2005-08-18T21:28:13Z

--On Thursday, August 18, 2005 22:02:55 +0200 Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:

> Samuel Thibault, le Thu 18 Aug 2005 21:49:41 +0200, a écrit :
>> Eric Dumazet, le Thu 18 Aug 2005 17:18:55 +0200, a écrit :
>> > I believe IRQ stacks are also allocated on node 0, that seems more serious.
>>
>> For the i386 architecture at least, yes: they are statically defined in
>> arch/i386/kernel/irq.c, while they could be per_cpu.
>
> Hum, but the per_cpu areas for i386 are not numa-aware... I'm wondering:
> isn't the current x86_64 numa-aware implementation of per_cpu generic
> enough for any architecture?

All ZONE_NORMAL on ia32 is on node 0, so I don't think it'll help.

M.