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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, COMMITTED] [MicroBlaze BZ #15705] Define MMAP2_PAGE_SHIFT


On 6 February 2014 02:50, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Wed, 5 Feb 2014, David Holsgrove wrote:
>
>> +/* Microblaze kernel has PAGE_SHIFT set to 12.
>> +   Determine the shift dynamically with getpagesize.  */
>
> The comment "has PAGE_SHIFT set to 12" seems inaccurate.  The reason you
> need to determine it dynamically is that the kernel
> (arch/microblaze/include/asm/page.h) may define it to any of 12, 14 or 16,
> depending on configuration options.  If it were constant, you could just
> use a suitable constant value here instead of -1.
>

Patch reverted in light of recent changes to mmap2 for MicroBlaze in
3.13 kernel (https://sourceware.org/bugzilla/show_bug.cgi?id=15705).

Any Glibc MicroBlaze changes will be re-evaluated post glibc 2.19 release.

thanks,
David

> --
> Joseph S. Myers
> joseph@codesourcery.com


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