Re: PAGE_SIZE Availability Inconsistency
From: Avi Kivity
Date: Thu Mar 08 2007 - 16:10:30 EST
H. Peter Anvin wrote:
David Miller wrote:
Thanks, but that still leaves PAGE_SIZE available for some
architectures and not for others shouldn't this be moved inside
__KERNEL__ in i386 and x86_64 then?
I definitely think so.
It definitely should, especially on x86-64, where the page size isn't
guaranteed by the ABI (on i386, the ABI guarantees a 4K page size; on
x86-64 it can be up to 64K.)
Wouldn't that be ia64?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-
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/