Re: "Streaming" data from kernel to userland
- From: "Daniel O'Connor" <doconnor@xxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 21:42:39 +1030
On Friday 19 January 2007 19:25, Ivan Voras wrote:
Daniel O'Connor wrote:
On Friday 19 January 2007 08:52, Ivan Voras wrote:
mind while thinking of this is sockets, so is there a sockets-like
interface which could be used to transfer large amounts of constantly
generated data from kernel to a userland application? Any advice on its
usage and/or examples?
What's wrong with read()?
On a /dev/something? Nothing, I guess. I thought maybe there's something
more abstract (not visible in /dev), but it's not an issue.
An entry in /dev is pretty traditional for this sort of thing :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Attachment:
pgpYS62KIzemT.pgp
Description: PGP signature
- References:
- "Streaming" data from kernel to userland
- From: Ivan Voras
- Re: "Streaming" data from kernel to userland
- From: Daniel O'Connor
- Re: "Streaming" data from kernel to userland
- From: Ivan Voras
- "Streaming" data from kernel to userland
- Prev by Date: Advice for Stripping the Kernel
- Next by Date: Re: Advice for Stripping the Kernel
- Previous by thread: Re: "Streaming" data from kernel to userland
- Next by thread: Re: "Streaming" data from kernel to userland
- Index(es):
Relevant Pages
- Re: "Streaming" data from kernel to userland
... amounts of pretty much real-time data from kernel to a userland ...
interface which could be used to transfer large amounts of constantly ... (freebsd-hackers) - "Streaming" data from kernel to userland
... amounts of pretty much real-time data from kernel to a userland ...
interface which could be used to transfer large amounts of constantly ... (freebsd-hackers) - Re: "Streaming" data from kernel to userland
... amounts of pretty much real-time data from kernel to a userland ... Userland
mmap's a large buffer and your ... kernel app treats it as a ring buffer and generated
data directly into ... write pointer in mmap'd ... (freebsd-hackers) - Re: Kernel module/IPC with userland: create and write to FIFO
... >> If you read and write to it, it acts like a FIFO. ... I would suggest
that you buffer it in userland. ... Ie have a small buffer in the kernel and have
a userland process that reads ... for Genesis Software - http://www.gsoft.com.au ...
(freebsd-stable) - Re: "Streaming" data from kernel to userland
... amounts of pretty much real-time data from kernel to a userland ...
interface which could be used to transfer large amounts of constantly ... (freebsd-hackers)