Message264000
| Author |
StyXman |
| Recipients |
StyXman |
| Date |
2016年04月22日.11:40:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461325239.41.0.30054024313.issue26826@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
copy_file_range() has been introduced in the Linux kernel since version 4.5 (mid march 2016). This new syscall allows to copy data from one fd to another without passing by user space, improving speed in most cases. You can read more about it here:
https://lwn.net/Articles/659523/
I intend to start working on adding a binding for it in the os module and then, if it's available, use it in shutils.copy() to improve its efficiency. I have a couple of questions: If the syscall is not available, should I implement a user space alternative or should the method not exist at all? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月22日 11:40:39 | StyXman | set | recipients:
+ StyXman |
| 2016年04月22日 11:40:39 | StyXman | set | messageid: <1461325239.41.0.30054024313.issue26826@psf.upfronthosting.co.za> |
| 2016年04月22日 11:40:39 | StyXman | link | issue26826 messages |
| 2016年04月22日 11:40:39 | StyXman | create |
|