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

From: Sergey Senozhatsky
Date: Fri Sep 11 2020 - 04:46:25 EST


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@xxxxxxxxxx/

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