Re: [PATCH] Revert "KVM: Check the allocation of pv cpu mask"
From: Vitaly Kuznetsov
Date: Wed Sep 16 2020 - 15:05:26 EST
Haiwei Li <lihaiwei.kernel@xxxxxxxxx> writes:
> On 20/9/16 17:03, Vitaly Kuznetsov wrote:
>> The commit 0f990222108d ("KVM: Check the allocation of pv cpu mask") we
>> have in 5.9-rc5 has two issue:
>> 1) Compilation fails for !CONFIG_SMP, see:
>> 2) This commit completely disables PV TLB flush, see
>> The allocation problem is likely a theoretical one, if we don't
>> have memory that early in boot process we're likely doomed anyway.
>> Let's solve it properly later.
> Hi, i have sent a patchset to fix this commit.
> What do you think?
Saw it, looks good to me. We are, however, already very, very late in 5.9
release cycle and the original issue you were addressing (allocation
failure) is likely a theoretical only I suggest we just revert it before
5.9 is released. For 5.9 we can certainly take your PATCH2 merged with
This Paolo's call anyway)