Re: [PATCH v5] binfmt_elf: Align eligible read-only PT_LOAD segments to PMD_SIZE for THP

From: David Hildenbrand (Arm)

Date: Fri Mar 20 2026 - 07:45:16 EST


On 3/15/26 14:12, Usama Arif wrote:
>
>
> On 15/03/2026 06:46, Lance Yang wrote:
>> Hi Rui,
>>
>> CC Baolin and Usama
>>
>> It would be better to keep earlier CC list across revisions, especially
>> for people who have already reviewed or were explicitly include before.
>> Otherwise, they may simply never see subsequent revisions, and from
>> their side the discussion just stops there ...
>>
>> Thanks,
>> Lance
>>
> Thanks! Also adding Ryan who did the exec_folio_order() work for ARM,
> and also raised good concerns in [1]
>
> The problem is not just alignment for elf, we need to fix more things like
> mmap heuristics [2] and how unmapped areas are gotten [3].

I agree, ideally, that would all be tackled in one go.

--
Cheers,

David