|
User-space device driversUser-space device driversPosted Jan 22, 2004 19:53 UTC (Thu) by stuart2048 (subscriber, #6241)Parent article: User-space device drivers
What fun! Back in the days of "who's got the fastest IPC" my master's thesis project, the Raven Kernel, was based on a user level approach (for as much as I could get away with...).
(Log in to post comments)
User-space device drivers Posted Jan 23, 2004 20:45 UTC (Fri) by jonabbey (subscriber, #2736) [Link] Snare's userland audit daemon works in the same way Gelato does.. it loops reading audit events from /proc/audit. This method has the very great virtue of simplicity and it can actually be quite fast and efficient. It'll be neat to see where this goes for user mode drivers, but I wonder what happens if a user mode driver fails? Would the kernel be smart enough to stop preparing the data for the driver? I know when the Snare audit daemon closes /proc/audit, the kernel notices that it has been closed, and amends its behavior to avoid queueing up additional audit events.
User-space device drivers Posted Mar 9, 2004 3:13 UTC (Tue) by PeterChubb (guest, #20062) [Link] When a userland driver fails, just kill it and start again. You may lose a few packets (for a network device) or any transactions that are halfway throough (for a disc device), but in most cases, this can be recovered from.In the case of a kernel mode driver, the same faults often require a reboot...
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.