[PATCH v3 1/2] arm64: pageattr: Use pagewalk API to change memory permissions
Ryan Roberts
ryan.roberts at arm.com
Wed Jun 25 03:57:28 PDT 2025
On 15/06/2025 08:25, Mike Rapoport wrote:
> On Fri, Jun 13, 2025 at 05:27:27PM +0100, Lorenzo Stoakes wrote:
>> On Fri, Jun 13, 2025 at 07:13:51PM +0530, Dev Jain wrote:
>>> -/*
>>> - * This function assumes that the range is mapped with PAGE_SIZE pages.
>>> - */
>>> -static int __change_memory_common(unsigned long start, unsigned long size,
>>> +static int ___change_memory_common(unsigned long start, unsigned long size,
>>> pgprot_t set_mask, pgprot_t clear_mask)
>>
>> I wouldn't presume to comment on conventions in arm64 arch code, but that's
>> a lot of underscores :P
>>
>> I wonder if this is the best name for it as you're not only invoking it
>> from __change_memory_common()?
>
> Could update_range_pgport() work?
Sounds good to me!
>
>> And yes this is a pedantic comment, I realise :)
>>
>
More information about the linux-arm-kernel
mailing list