From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 6 Oct 2015 06:21:57 +0100 Subject: UIO Devices and user processes In-Reply-To: References: Message-ID: <20151006052157.GA16343@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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