Re: Illegal use of reserved word in system.h

From: Arjan van de Ven
Date: Thu May 19 2005 - 10:16:10 EST


On Thu, 2005-05-19 at 15:58 +0100, Maciej W. Rozycki wrote:
> 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().

and that is the 4Kb/16Kb difference!
so it needs to be per elf type.. which is what is there now ;)

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