[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87imb64bx2.fsf@vitty.brq.redhat.com>
Date: Mon, 19 Oct 2020 14:50:49 +0200
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: Haiwei Li <lihaiwei.kernel@...il.com>
Cc: pbonzini@...hat.com, sean.j.christopherson@...el.com,
wanpengli@...cent.com, jmattson@...gle.com, joro@...tes.org,
Haiwei Li <lihaiwei@...cent.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] KVM: Check the allocation of pv cpu mask
Haiwei Li <lihaiwei.kernel@...il.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
Powered by blists - more mailing lists