|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] Only call EvtchnFlush on valid Cpus
On 03/07/2023 17:46, Paul Durrant wrote: On 20/06/2023 15:33, Owen Smith wrote:The Evtchn processor array is created using KeQueryMaximumProcessorCountEx, whichcan include processors that do not get initialized. Skip cleanup and flushing uninitialized event channels Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>Acked-by: Paul Durrant <paul@xxxxxxx> Actually, taking another look I think we should actually fix EvtchnTwoLevelIsProcessorEnabled() to check SystemProcessorVcpuId() rather than blindly returning TRUE (the FIFO variant already checks) and then we can use EvtchnIsProcessorEnabled()...
... here instead. I'll send a follow-up patch. Paul + if (!NT_SUCCESS(status)) + continue; + EvtchnFlush(Context, Cpu); (VOID) KeRemoveQueueDpc(&Processor->Dpc);
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |