This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A mmap64 patch


On Sun, May 27, 2001 at 12:51:40AM -0700, H . J . Lu wrote:
> This patch removes the duplication of mmap64.c. You also need
> 
> http://sources.redhat.com/ml/libc-hacker/2001-05/msg00070.html
> 
> for the MIPS support.

This is wrong on sparc32. sparc32 has page size either 4K or 8K, but the
mmap2 shift is always 12.
The value of PAGE_SHIFT depends on what the kernel has been configured for
(sun4 vs. sun4[cdm]).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]