Reserving a bit in ELF segment flags for huge page mappings
Sriraman Tallam
tmsriram@google.com
Wed Jul 25 18:29:00 GMT 2012
On Tue, Jul 24, 2012 at 1:40 PM, Cary Coutant <ccoutant@google.com> wrote:
>> To do this, I would like to reserve a bit in the segment flags to
>> indicate that this segment is to be mapped to huge pages if possible.
>> Can I reserve something like a PF_LARGE_PAGE bit?
>
> HP-UX has a PF_HP_PAGE_SIZE (0x00100000) bit that says "Segment should
> be mapped with page size specified in p_align field".
Ok to define PF_LINUX_PAGE_SIZE similarly, same bit (0x00100000) ? I
want this to be a hint to the loader.
Thanks,
-Sri.
>
> -cary
More information about the Binutils
mailing list