Message310454
| Author |
vstinner |
| Recipients |
YoSTEALTH, ned.deily, nitishch, njs, pitrou, vstinner |
| Date |
2018年01月23日.00:53:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1516668811.91.0.467229070634.issue31368@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Explanation for myself.
https://kernelnewbies.org/Linux_4.14#Asynchronous_buffered_I.2FO_support
"In this release, the preadv2(2) syscall with RWF_NONBLOCK will let userspace applications bypass enqueuing operation in the threadpool if it's already available in the pagecache."
For applications using a thread pool, like the aiofiles does for asyncio, preadv2() allows to bypass the thread pool which is obviously faster. If the read block, just uses thread pool as currently done.
Same rationale for pwritev2(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年01月23日 00:53:31 | vstinner | set | recipients:
+ vstinner, pitrou, ned.deily, njs, YoSTEALTH, nitishch |
| 2018年01月23日 00:53:31 | vstinner | set | messageid: <1516668811.91.0.467229070634.issue31368@psf.upfronthosting.co.za> |
| 2018年01月23日 00:53:31 | vstinner | link | issue31368 messages |
| 2018年01月23日 00:53:31 | vstinner | create |
|