[RFC][PATCH 0/4] arm64:kvm: teach guest sched that VCPUs can be preempted

Sergey Senozhatsky sergey.senozhatsky at gmail.com
Fri Sep 11 04:46:13 EDT 2020


Hi,

On (20/08/17 20:03), yezengruan wrote:
> Hi Sergey,
> 
> I have a set of patches similar to yours.
> 
> https://lore.kernel.org/lkml/20191226135833.1052-1-yezengruan@huawei.com/

I'm sorry for the belated reply.

Right, quite similar, but not exactly, I believe. I deliberately wanted
to untangle vcpu preemption (which is a characteristics feature) from
pv-lock, which may be somewhat implementation dependent.

Perhaps vcpu_is_preempted() should not even be implemented on per-arch
basis, but instead it can be more of a "core" functionality.

	-ss



More information about the linux-arm-kernel mailing list