kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* UIO Devices and user processes
@ 2015-10-05 23:07 Kenneth Adam Miller
  2015-10-06  5:21 ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Kenneth Adam Miller @ 2015-10-05 23:07 UTC (permalink / raw)
  To: kernelnewbies

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.

We have a specific region of memory that we'd like to allocate to a
process, and we'd like effectively all new and delete or malloc and free
operations to be done against this target area. We'd like to not have to
use placement new in C++-just transparently for the requesting user process
to receive chunks from a specific real region of memory.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151005/e12b07d7/attachment.html 

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-10-07 18:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 23:07 UIO Devices and user processes Kenneth Adam Miller
2015-10-06  5:21 ` Greg KH
2015-10-06 13:26   ` Kenneth Adam Miller
2015-10-06 13:57     ` Greg KH
2015-10-06 14:03       ` Kenneth Adam Miller
2015-10-06 13:58     ` Yann Droneaud
2015-10-06 14:13       ` Kenneth Adam Miller
2015-10-06 14:32         ` Yann Droneaud
2015-10-06 14:41           ` Kenneth Adam Miller
2015-10-06 14:46             ` Kenneth Adam Miller
2015-10-06 15:04               ` Yann Droneaud
2015-10-06 15:10                 ` Kenneth Adam Miller
2015-10-07 17:02               ` Greg KH
2015-10-07 18:10                 ` Kenneth Adam Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).