lkml.org 
[lkml]   [2022]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/12] KVM: X86/MMU: Remove the useless idx from struct kvm_mmu_pages
It's arguably not useless, e.g. it's still used for a sanity check.  Not sure
how to word that though. Maybe?

KVM: x86/mmu: Drop no-longer-necessary mmu_page_and_offset.idx

On Sun, Jun 05, 2022, Lai Jiangshan wrote:
> From: Lai Jiangshan <jiangshan.ljs@antgroup.com>
>
> The value is only set but never really used.

Please elaborate on why it's no longer truly used. Something like:

Drop mmu_page_and_offset.idx, it's no longer strictly necessary now that
KVM doesn't recurse up the walk to clear unsync information in parents.
The field is still used for a sanity check, but that sanity check will
soon be made obsolete by further simplifying the gathering of unsync
shadow pages

\
 
 \ /
  Last update: 2022-07-19 22:33    [W:0.167 / U:2.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site