Issue1545262
Created on 2006-08-23 13:01 by oaitmous, last changed 2006-08-25 00:57 by loewis.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
splicetee.patch
|
oaitmous,
2006-08-23 13:01
|
patch v1 |
|
|
|
msg50978 - (view) |
Author: Omar AitMous (oaitmous) |
Date: 2006-08-23 13:01 |
|
This module is an interface to the new splice()/tee()
system calls under Linux Kernel 2.6.17 and higher.
Splice allows one to transfer data from a stream to
another within the kernel, without need for user-land
involvement, while tee transfers data from a pipe to
another without consuming the data on the first pipe.
By combining both system calls, it is possible to
actually do zero-copy movement of data from one or many
sources to many destinations.
For more information about splice() and tee() system
call mechanisms :
http://kerneltrap.org/node/6505
We would like to know if this is worth for inclusion in
the standard Python distribution? What should be
modified to make it more "compliant" to the python
rules? This file will probably need to be updated to
conform to python style standards.
|
|
msg50979 - (view) |
Author: Martin v. Löwis (loewis) |
Date: 2006-08-25 00:57 |
|
Logged In: YES
user_id=21627
See my comments to 1545275, packaging it up as a separate package on the
Cheeseshop should be the first step.
In the specific case, I think this should be added to posixmodule.c if it is
added at all. I don't think the system call should be done directly, but instead,
a C library interface should be used once available. Then, in turn, configure
should detect presence of the API.
Notice the documentation has bogus fragments of C.
|
|
| Date |
User |
Action |
Args |
| 2006-08-23 13:01:54 | oaitmous | create | |
|