Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux