On 23/10/20 03:57, Li,Rongqing wrote:
-----Original Message-----
From: Li,Rongqing
Sent: Sunday, September 27, 2020 4:45 PM
To: Li,Rongqing <lirongqing@xxxxxxxxx>; kvm@xxxxxxxxxxxxxxx;
x86@xxxxxxxxxx; sean.j.christopherson@xxxxxxxxx
Subject: [PATCH][v3] KVM: x86/mmu: fix counting of rmap entries in
pte_list_add
Fix an off-by-one style bug in pte_list_add() where it failed to account the last
full set of SPTEs, i.e. when desc->sptes is full and desc->more is NULL.
Merge the two "PTE_LIST_EXT-1" checks as part of the fix to avoid an extra
comparison.
Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>
Reviewed-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Ping
Thanks
-Li
Queued, thanks.
Paolo