<div dir="ltr">No, I didn't try it. I just wanted to ask before I got started. Thanks that answers everything.<div><br></div><div>Any body know about the issue of assigning a process a region of physical memory to use for it's malloc and free? I'd like to just have the process call through to a UIO driver with an ioctl, and then once that's done it gets all it's memory from a specific region.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 1:21 AM, Greg KH <span dir="ltr"><<a href="mailto:greg@kroah.com" target="_blank">greg@kroah.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Oct 05, 2015 at 07:07:51PM -0400, Kenneth Adam Miller wrote:<br>
> So, I'm reading about UIO devices and user processes for mapping memory into<br>
> userland, and basically I have just a couple questions:<br>
><br>
> What happens when a userland processes has allocated some resource from a<br>
> driver that is facilitating UIO, but then subsequently crashes? I'd like to<br>
> know that the driver can (or how you would enable such) recover the resources<br>
> so that the next user process can acquire them, instead of them being lost.<br>
<br>
</span>Have you tried this? All of your resources should be freed properly, if<br>
not, let the uio maintainers know.<br>
<br>
thanks,<br>
<br>
greg k-h<br>
</blockquote></div><br></div>