Re: [PATCH] uio: uio_pdrv_genirq V3
From: Uwe Kleine-König
Date: Fri Jul 11 2008 - 06:19:03 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/