Messages in this thread | | | Date | Thu, 10 Apr 2008 22:11:03 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH 1/4] UIO: hold a reference to the device's owner while the device is open |
| |
Uwe Kleine-König wrote: > Otherwise the device might just disappear while /dev/uioX is being used > which results in an Oops. To help your understanding, without this patch I can trigger the Oops by starting an app that does
opening and mmapping /dev/uio0 while(1);
and then in another shell do
rmmod uio_pdrv
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/
| |