Re: [PATCH 5.10 005/289] KVM: x86/mmu: Remove the defunct update_pte() paging hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/05/21 21:56, Pavel Machek wrote:
Hi!

From: Sean Christopherson <seanjc@xxxxxxxxxx>

commit c5e2184d1544f9e56140791eff1a351bea2e63b9 upstream.

Remove the update_pte() shadow paging logic, which was obsoleted by
commit 4731d4c7a077 ("KVM: MMU: out of sync shadow core"), but never
removed.  As pointed out by Yu, KVM never write protects leaf page

First, this is cleanup, not a bugfix.

It was reported to also fix a bug. Commit 4731d4c7a077 is 2008 vintage, so it is certainly in 5.10.

Paolo

Second, AFAICT 4731d4c7a077 ("KVM: MMU: out of sync shadow core") is
not in 5.10, so this will break stuff according to the changelog.






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux