Re: x86 patches was Re: -mm merge plans for 2.6.24

From: Andi Kleen
Date: Tue Oct 02 2007 - 03:59:35 EST


> Grumble. The options are:
>
> a) export it in the kernel's native size and have userspace figure it
> out
> b) add a header
> c) lie to 32-bit apps on 64-bit kernels
> d) always export 32 bits
> e) always export 64 bits
>
> I started with (a), switched to (b), and then Alan and Dave convinced
> me to switch back to (a). I don't think (c) is desireable, especially
> as it means having two code paths. (d) would work until memory got
> large enough that PFNs didn't fit in 32 bits. (e) would be ok all
> around, except for the extra overhead. Ho hum.

If the overhead of (e) is ok for 64bit it should be ok for 32bit too.

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