This is the mail archive of the libc-alpha@sourceware.org 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] |
Other format: | [Raw text] |
Setting SHMLBA to 4MB results in applications failing to allocate memory using mmap too early. Examples are localedef and perl. The attached patch fixes this by reducing SHMLBA to the page size (4096). The patch has been installed on Debian for a long time. It goes back to the following discussion: https://patchwork.kernel.org/patch/3933841/ Although there may be issues in old IPC applications, the general consensus is that the smaller 4KB value is more useful. I might add that the kernel code in sys_parisc.c does 4MB color alignment for file and shared maps. Please install. Dave -- John David Anglin dave.anglin@bell.net
Attachment:
shmlba.d.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |