Re: UIO Devices and user processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, I didn't try it. I just wanted to ask before I got started. Thanks that answers everything.

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.

On Tue, Oct 6, 2015 at 1:21 AM, Greg KH <greg@xxxxxxxxx> wrote:
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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux