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

David Hildenbrand david at redhat.com
Mon Apr 28 16:19:39 UTC 2025


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



More information about the dri-devel mailing list