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


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

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


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


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