Re: [PATCH v3 3/8] KVM: x86/mmu: Rename NX huge pages fields/functions for consistency
From: Mingwei Zhang
Date: Fri Aug 19 2022 - 21:04:22 EST
> (nx_huge_page_disallowed, possible_nx_huge_pages)
>
> case (true, in_list): mitigation for multi-hit iTLB.
> case (true, not_in_list): dirty logging disabled; address misalignment; guest did not turn on paging.
> case (false, in_list): not possible.
> case (false, not_in_list): Any other situation where KVM manipulate SPTEs.
>
made a mistake: should be:
case (true, in_list): mitigation for multi-hit iTLB.
case (true, not_in_list): address misalignment; guest did not turn on paging.
case (false, in_list): not possible.
case (false, not_in_list): dirty logging disabled; any other situation
KVM zaps small SPTEs in replace of a huge one.
Anyway, this is not a blocking comment. But I just don't want to leave
a mistake in the conversation.
Thanks.
-Mingwei