Re: [PATCH] KVM: Disable wake-affine vCPU process to mitigate lock holder preemption
From: Paolo Bonzini
Date: Fri Aug 02 2019 - 04:38:57 EST
On 01/08/19 14:57, Dario Faggioli wrote:
> Can't we achieve this by removing SD_WAKE_AFFINE from the relevant
> scheduling domains? By acting on
> /proc/sys/kernel/sched_domain/cpuX/domainY/flags, I mean?
> Of course this will impact all tasks, not only KVM vcpus. But if the
> host does KVM only anyway...
Perhaps add flags to the unified cgroups hierarchy instead. But if the
"min_cap close to max_cap" heuristics are wrong they should indeed be fixed.