Messages in this thread | | | Date | Thu, 9 Oct 2003 13:15:44 -0400 (EDT) | From | James Morris <> | Subject | Re: [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/
| |