[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH glibc 13/34] x86-64: Disable prefer_map_32bit_exec tunabl
From: |
Sergey Bugaev |
Subject: |
Re: [RFC PATCH glibc 13/34] x86-64: Disable prefer_map_32bit_exec tunable on non-Linux |
Date: |
Mon, 3 Apr 2023 23:11:08 +0300 |
On Mon, Apr 3, 2023 at 10:02 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> Or something like this.
Or like that, yeah!
On a second thought, I actually like Samuel's idea (ifdef MAP_32BIT):
instead of only building this piece of code when the tunable *is*
defined, we'd build it when the tunable *should be* defined (that is,
when your port has MAP_32BIT). And if you get build errors, that is
your not-so-gentle reminder to go and define the tunable for your
port.
What do you think?
Sergey