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: David Miller <davem at davemloft dot net>
- To: carlos at redhat dot com
- Cc: roland at hack dot frob dot com, vapier at gentoo dot org, libc-alpha at sourceware dot org
- Date: Tue, 28 May 2013 13:26:01 -0700 (PDT)
- Subject: Re: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA
- References: <20130528194042 dot 1EF7B2C074 at topped-with-meat dot com> <20130528 dot 130721 dot 1721261559877509450 dot davem at davemloft dot net> <51A51186 dot 7070904 at redhat dot com>
From: "Carlos O'Donell" <carlos@redhat.com>
Date: Tue, 28 May 2013 16:20:22 -0400
> I know it's a little pedantic, but it's not a generic issue, and thus I
> agree that it should be a part of the OS/hardware support code.
Any OS which allows illegal cache aliases to be created as a result of
an MMAP call is broken, they signal an error instead.
The standard way to express the required alignment in every single case
I am aware of is SHMLBA.
And that's why Linux "inherited" this semantic from other systems.