Re: x86: unify genapic code, unify subarchitectures, remove old subarchitecture code

From: Andi Kleen
Date: Fri Jan 30 2009 - 03:45:55 EST


> At this point there's no technical need to kill it - it's a zero-overhead
> thing tucked away into a single .c module in arch/x86/kernel/numaq_32.c. I
> even consolidated most of its headers in that file, to reduce its cross
> section.

There's still a couple of hooks in the subarch interface (even your new one)
which are effectively NUMAQ only. These are far from zero overhead. Plus the
ugly wards in smpboot.c like the special path to wake up CPUs via NMI and
some other things. And the hacks like the special ECR access. NUMAQ is really
very very different from a normal PC and needed a lot of special code.

Even with your changes removing NUMAQ would be a significant cleanup.

Also BTW if it hasn't been tested it's unlikely to work and
keeping code around that doesn't work doesn't seem very useful.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/