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] |
Andreas Schwab wrote:...Daniel Jacobowitz <drow@false.org> writes:
It's a long-standing kernel ABI wart. I disagree that it's a bug, and it would be a royal pain to have kernels with two different shift amounts!
Ok. But hardcoding it is wrong, that's what getpagesize is for.
Do you have in mind something like the attached patch? Using this one can then define MMAP2_PAGE_SHIFT to -1 in a particular port to use getpagesize.
Let me know if you think this approach is better then simply hardcoding the value; I'll then submit this patch to libc-alpha@ for review.
-- Maxim Kuvyrkov CodeSourcery maxim@codesourcery.com (650) 331-3385 x724
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |