Possible bug in sysdeps/unix/sysv/linux/powerpc/mmap64.c

Jack Howarth howarth@bromo.med.uc.edu
Sat May 19 15:23:00 GMT 2001


HJ,
  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.  

http://sources.redhat.com/ml/libc-alpha/2000-10/msg00255.html

                 Jack



More information about the Libc-alpha mailing list