Re: mmap problem in localedef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-04-02, at 3:12 PM, Aaro Koskinen wrote:

> Hi,
> 
> On Sun, Apr 02, 2017 at 10:08:59AM -0400, John David Anglin wrote:
>> On 2017-04-01, at 3:10 PM, Aaro Koskinen wrote:
>>> It was attached to Dave's original mail. Inlined below:
>>> 
>>> Index: eglibc-2.18/sysdeps/unix/sysv/linux/hppa/bits/shm.h
>>> ===================================================================
>>> --- eglibc-2.18.orig/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2013-01-09 19:28:48.000000000 -0500
>>> +++ eglibc-2.18/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2014-04-09 21:08:06.516202583 -0400
>>> @@ -36,7 +36,7 @@
>>> #define SHM_UNLOCK	12		/* unlock segment (root only) */
>>> 
>>> /* Segment low boundary address multiple.  */
>>> -#define SHMLBA 0x00400000		/* address needs to be 4 Mb aligned */
>>> +#define SHMLBA		(__getpagesize ())
>>> 
>>> /* Type to count number of attaches.  */
>>> typedef unsigned long int shmatt_t;
>> 
>> This patch goes back to the following discussion:
>> https://patchwork.kernel.org/patch/3933841/
>> 
>> As far as I can tell, it was not submitted to the glibc list, nor is
>> there a bug report regarding localedef.
> 
> glibc bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=19838


Helge, would you send this change to glibc list?  If you already sent it, would you do a ping?

You are in the best position to explain why this value should be page size and not 4MB.  It would be good to note
in BZ where patch is on list.

Dave
--
John David Anglin	dave.anglin@xxxxxxxx



--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux