Messages in this thread | | | Date | Thu, 20 Apr 2006 15:21:19 +0200 | From | Diego Calleja <> | Subject | Re: Linux 2.6.17-rc2 |
| |
El Wed, 19 Apr 2006 11:44:25 -0700 (PDT), Linus Torvalds <torvalds@osdl.org> escribió:
> Anyway, when would you actually _use_ a kernel buffer? Normally you'd use > it it you want to copy things from one source into another, and you don't
Thanks,I wonder it splice can be useful for more cases than just high-bandwith blind transference of data? For example, in X.org as of today, I think that pixmaps need to be copied from the client adress space to the server. Because X.org is network-oriented the pixmaps must be sent even in local machines, (in order to save memory when clients move a pixmap to the server they must free it in their address space, because extra copies mean high memory usage, at some point nautilus was keeping three copies of the desktop background in memory)
There're shared memory extensions in commercial X servers which I think they fix this for local usage (there're rumors that Sun may port and contribute their Xsun shared memory implementation to x.org in the future), but I wonder if splice could be an alternative aswell? Or maybe splice is not a good option when you need several MB? (if the buffer size becomes tweakable in the future) - 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/
| |