|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v4 3/8] arm/irq: Keep track of irq affinities
Hi Mykyta, On 12/11/2025 10:51, Mykyta Poturai wrote: irq_set_affinity() doesn't always seems to be called with ``desc->lock`` taken (see vgic_migrate_irq(), arch_move_irqs()). So I am not sure this is safe. You probably need to update the callers as well to always take the lock. irq_set_affinity() probably want to gain an ASSERT(spin_is_locked()) with some documentation on top of the function. NIT: As there are multiple lines in the ``if``, I would consider reworking the logic so we return early when desc is NULL. }int request_irq(unsigned int irq, unsigned int irqflags, Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |