On 9/10/26 14:34, Yeoreum Yun wrote:
> On Thu, Sep 10, 2026 at 02:25:40PM +0200, David Hildenbrand (Arm) wrote:
>> On 9/10/26 14:16, Yeoreum Yun wrote:
>>>
>>> True. I overlooked guard bit is sticky.
>>>
>>>
>>> It's enough but alloc_isolated_mem() could be modified to allocate with
>>> PROT_NONE first and then change the prot.
>>>
>>> It seems whether make a helper or testcase should write the code
>>> properly in case of unwanted VMA merge.
>>>
>>> IMHO, instead of testcase write them all
>>
>> So far I am aware of exactly one test case, which others do absolutely need 
>> this?
> 
> True. I'll respin with your suggestion.

Don't get me wrong, if we'll need this for other tests we can add helpers. But
for a single user adding a helper is not really worth it.

-- 
Cheers,

David

Reply via email to