|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 17/57] ARM: Introduce kick_vcpu()
Hi Andre, On 05/03/18 16:03, Andre Przywara wrote: If we change something in a vCPU that affects its runnability or otherwise needs the vCPU's attention, we might need to tell the scheduler about it. We are using this in one place (vIRQ injection) at the moment, but will need this at more places soon. So let's factor out this functionality in the new kick_vcpu() function and make this available to the whole Xen arch code. Signed-off-by: Andre Przywara <andre.przywara@xxxxxxxxxx> --- Changelog RFC ... v1: - new patch xen/arch/arm/smp.c | 14 ++++++++++++++ xen/arch/arm/vgic.c | 10 ++-------- xen/include/asm-arm/smp.h | 3 +++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/xen/arch/arm/smp.c b/xen/arch/arm/smp.c index 62f57f0ba2..381a4786a2 100644 --- a/xen/arch/arm/smp.c +++ b/xen/arch/arm/smp.c @@ -4,6 +4,8 @@ #include <asm/page.h> #include <asm/gic.h> #include <asm/flushtlb.h> +#include <xen/perfc.h> +#include <xen/sched.h>void flush_tlb_mask(const cpumask_t *mask) Can we name it vcpu_kick? This is to match the x86 side and it seems we have a prototype in events.h. Also, IHMO this belongs to domain.c as this deal with vCPU. smp.c is more for dealing with pCPU.
Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |