Re: [PATCH v1 01/11] x86/mm/pat: factor out setting cachemode into pgprot_set_cachemode()

David Hildenbrand
2025-04-28T16:19:50Z

n 0;
>> }
>>
>> @@ -1073,10 +1072,8 @@ void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn)
>> if (!pat_enabled())
>> return;
>>
>> - /* Set prot based on lookup */
>
> We're losing a comment here but who cares, it's obvious what's happening.
>

Yeah, it's now self-documented :)

lookup ... set cachemode

Thanks!

--
Cheers,

David / dhildenb