This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 28 May 2013 12:40:42 -0700 (PDT)
- Subject: Re: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA
- References: <1369327649-906-1-git-send-email-vapier at gentoo dot org> <1369507293-19498-1-git-send-email-vapier at gentoo dot org>
The fact that SHMLBA is the right size for this is a Linuxism. It should
not be used directly in generic libc code. Instead, add a private sysdeps/
header to define a macro or function that yields this larger-than-page size
and explains what uses need to use this size. If it's then the most
sensible thing for a machine-independent linux/ implementation of this
header to use SHMLBA, then fine.