Re: Illegal use of reserved word in system.h

From: Maciej W. Rozycki
Date: Thu May 19 2005 - 10:12:56 EST


On Thu, 19 May 2005, Arjan van de Ven wrote:

> > As I stated earlier, the page size passed in there is ELF_EXEC_PAGESIZE
> > which may not be the same as PAGE_SIZE.
>
> and that is good!
> Some architectures have different page sizes for different
> personalities, eg ia64 has 16Kb for ia64 binaries but 4kb for x86
> binaries. "kernel" PAGE_SIZE would be wrong to give to x86 userspace
> there.

Well, as long as that value is what Linux expects (and respects!) for
calls like mprotect().

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