[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 27/39] xen/riscv: handle the case when no vCPU migration is needed



On Wed, 30 Sep 2026 18:23:46 +0200, Oleksii Kurochko 
<oleksii.kurochko@xxxxxxxxx> wrote:
> The scheduler moves a vCPU's interrupts (arch_move_irqs(), i.e.
> imsic_migrate_vcpu()) ahead of context_switch() whenever the unit is
> picked up by a pCPU other than the one it was assigned to, which can
> already happen for a freshly created vCPU on its very first run. No IMSIC
> h/w interrupt file has been mapped for such a vCPU yet, so there is
> nothing to migrate: return early while its last_cpu is still CPU_NONE,
> i.e. while it hasn't run.
> 
> [...]

Reviewed-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>

-- 
Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.