Re: [PATCH V2 0/5] KVM: X86: permission_fault() for SMAP

From: Paolo Bonzini
Date: Tue Mar 15 2022 - 17:06:15 EST


On 3/11/22 08:03, Lai Jiangshan wrote:
From: Lai Jiangshan<jiangshan.ljs@xxxxxxxxxxxx>

Some change in permission_fault() for SMAP. It also reduces
calls two callbacks to get CPL and RFLAGS in come cases, but it
has not any measurable performance change in tests (kernel build
in guest).

I am going to queue patches 1-4. The last one shouldn't really have any performance impact with static calls.

Paolo