[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: add PCI IDs to k8topology_64.c
On Monday 28 January 2008 07:48:06 pm Andi Kleen wrote:
> "Joachim Deguara" <> writes:
> > Quick history, this is a harmless patch that got dropped by Andi as a mixup to
> It's not harmless.
> > dropping another patch of mine that was made obsolete by Yinghai.
> >
> No that's not the correct history. The correct history is that
> I intentionally rejected this patch because the old k8topology
> hack should really not be used anymore on modern machines (especially
> not on Quad Cores). SRAT is the far better way to handle this problem
> because it has a proper abstraction.
> The problem with k8topology.c is that it needs to know very low level
> information (like HT node numbers etc.) the kernel should not really
> need to know and which are difficult to handle generally without
> motherboard specific knowledge.
> k8topology.c mostly guesses, which was never a good way to handle this.
> Also in in the various "node has no memory" cases it needs quite
> hackish fallback heuristics which will be always fragile. Then there
> are some ugly interactions with quad cores. And some other issues
> I still think the patch a bad idea because adapting this file all
> the time is a long term maintenance issue. I can say that as
> the original author :-) It was just a quick hack long ago
> to get NUMA going early. But now it far outlived its usefulness
> and adapting it to modern machines is the wrong direction.
> Best is to phase k8topology out.

then with acpi=off, we can not use numa any more.

also there are some users are using LinuxBIOS or other firmware that doesn't have or like ACPI support. but they still need numa.
for them ACPI doesn't help.


 \ /
  Last update: 2008-01-29 05:09    [W:0.059 / U:1.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site