Messages in this thread | | | From | Vitaly Kuznetsov <> | Subject | Re: [PATCH v4] KVM: Check the allocation of pv cpu mask | Date | Mon, 19 Oct 2020 14:50:49 +0200 |
| |
Haiwei Li <lihaiwei.kernel@gmail.com> writes:
> And 'pv_ops.mmu.tlb_remove_table = tlb_remove_table' should not > be set either.
AFAIU by looking at the commit which added it (48a8b97cfd80 "x86/mm: Only use tlb_remove_table() for paravirt") it sholdn't hurt much. We could've avoided the assignment but it happens much earlier, in kvm_guest_init() and there's no good way to un-patch pvops back.
-- Vitaly
| |