lkml.org 
[lkml]   [2003]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RFC] relayfs (1/4) (Documentation)
On Thu, 9 Oct 2003, Tom Zanussi wrote:

> Nothing, if they meet your needs. One thing you can do with relayfs
> files is mmap() them. That combined with the kernel-side API,
> designed to make writing data into buffers and transferring it as
> large blocks to user-space efficient and flexible, allows for
> high-speed, high-volume applications which I'm not sure Netlink was
> designed for.

It should be possible to make Netlink sockets mmapable (like the packet
socket).

> relayfs can also be used in 'packet' mode, using read(2) to read data
> as it becomes available, so it can be used for low-speed, low-volume
> applications as well. Also, some people might find the file-based
> approach more natural to deal with. Personal preference, I suppose.

There is already a netlink device.


- James
--
James Morris
<jmorris@redhat.com>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.060 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site