UIO Devices and user processes

Greg KH greg at kroah.com
Tue Oct 6 01:21:57 EDT 2015


On Mon, Oct 05, 2015 at 07:07:51PM -0400, Kenneth Adam Miller wrote:
> So, I'm reading about UIO devices and user processes for mapping memory into
> userland, and basically I have just a couple questions:
> 
> What happens when a userland processes has allocated some resource from a
> driver that is facilitating UIO, but then subsequently crashes? I'd like to
> know that the driver can (or how you would enable such) recover the resources
> so that the next user process can acquire them, instead of them being lost.

Have you tried this?  All of your resources should be freed properly, if
not, let the uio maintainers know.

thanks,

greg k-h



More information about the Kernelnewbies mailing list