This is the mail archive of the
mailing list for the glibc project.
Re: Possible bug in sysdeps/unix/sysv/linux/powerpc/mmap64.c
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: Re: Possible bug in sysdeps/unix/sysv/linux/powerpc/mmap64.c
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Date: Sat, 19 May 2001 18:23:05 -0400 (EDT)
I can't say why it is set to 12 but the PAGE_SHIFT is present in
sysdeps/unix/sysv/linux/powerpc/mmap64.c because the powerpc asm
headers in Linux 2.4.x were tightened to not export PAGE_SHIFT
(thus it had to be hardcoded into mmap64.c). I recall that the
idea was that it should never change no matter what happened to
PAGE_SHIFT in linux.
Here is one message where the original idea was discussed.