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: "Carlos O'Donell" <carlos at redhat dot com>, David Miller <davem at davemloft dot net>, libc-alpha at sourceware dot org
- Date: Wed, 29 May 2013 16:21:18 -0700 (PDT)
- Subject: Re: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA
- References: <20130528194042 dot 1EF7B2C074 at topped-with-meat dot com> <20130529000346 dot 0D6AB2C073 at topped-with-meat dot com> <51A549FB dot 1010402 at redhat dot com> <201305282308 dot 16635 dot vapier at gentoo dot org>
> otherwise, talking about a "multiple of the page size" is entirely pointless
> when all it means is "the page size".
You are ignoring the context in which the phrase appears. It says "... may
require that OFF is a multiple of the page size," and "... may require that
ADDR is a multiple of the page size". To say that an address is a multiple
of the page size is exactly the same thing as saying that the address is
aligned to the page size. If it said, "... must be aligned to a multiple
of the page size," or "... must be a multiple of a multiple of the page
size," then your interpretation would make sense.