Re: MAINTAINERS file out of date?



"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

Andi Kleen wrote:
A lot of that code (although, of course, not all) could be written in C,
though. I'm thinking of taking a stab at rewriting it that way.

That would require a new compiler, right? I don't think that would
make users very happy.

Besides the code is not exactly that maintenance intensive and only
changes rarely so I don't need a pressing need to rewrite it

No, it would not need a new compiler. All it requires is gcc plus a
reasonably recent binutils which you need anyway.

There opportunities to enhance this code without writing it in C.
Such as building the code out comprehensible single of subroutines,
with a well defined calling sequence.

The big benefit when you can go to C is that you can include headers
from elsewhere in the kernel and since setup.S is increasingly
becoming optional it has a fixed interface to the rest of
the kernel, so there is much less opportunity for enhancement there.

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



Relevant Pages

  • Re: MAINTAINERS file out of date?
    ... I'm thinking of taking a stab at rewriting it that way. ... it would not need a new compiler. ... reasonably recent binutils which you need anyway. ...
    (Linux-Kernel)
  • amd64 bitops fix for -Os
    ... filesystem, the kernel mostly hangs. ... When optimizing for speed, the generated code is such that the flags ... Obviously the asm statement must not rely on the compiler setting up ... -inline long find_first_zero_bit(const unsigned long * addr, ...
    (Linux-Kernel)
  • Re: amd64 bitops fix for -Os
    ... > kernel build. ... because its inline asm assumes at least one iteration ... the generated code is such that the flags ... although in a perfect world the compiler would be ...
    (Linux-Kernel)
  • Re: Problem setting up lm-sensors
    ... >> they built the kernel. ... >> Why does the Makefile not use .config? ... >> I assume no one wants to see that 727 line Makefile. ... >> question as to what compiler I should use. ...
    (comp.os.linux.misc)
  • Re: Micro$haft desperate! Buy Windoze 7, get (virtual) XP free!
    ... it's not even Windows, it's what MS's C++ compiler does. ... Because device drivers in operating systems with monolithic kernels, and in many operating systems with hybrid kernels, execute within the operating system kernel, it is possible to run the kernel as a 32-bit process while still supporting 64-bit user processes. ... Leopard with no trouble. ... rather not having 64-bit Carbon when the apps that want all that memory use Carbon. ...
    (comp.sys.mac.advocacy)