Messages in this thread | | | Date | Fri, 11 Jul 2008 12:18:39 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH] uio: uio_pdrv_genirq V3 |
| |
Magnus Damm wrote: > - kept irq control spinlock to serialize user space access I think you want to assert, that after a succeeded
echo 0 > /dev/uioX
the userspace doesn't need to check for a pending irq?! What happens if the irq triggers before you take the lock?
Best regards Uwe
-- Uwe Kleine-König, Software Engineer Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |