lkml.org 
[lkml]   [2020]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectVectored syscalls Was: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster
Date
Hey there,

maybe instead of this rather specific, niche readfile syscall, would it not be beneficial
to allow issuing any group or bundle of several arbitrary system calls so this could also
be used to speed up other, more demanding high performance applications that need
a bit more than just readfile()?

An iImplementation could use some SYSCALLV syscall taking some io_uring like
structure with a list of flags, syscalls and arguments, so that this case could be submitted
as something like (illustration purposes only):

{
{ABORT_ON_ERROR, OPEN, …},
{RET_TO_ARG1, READ, …},
{0, CLOSE, …},
}

I hope that sounds useful,
René Rebe

--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
https://exactscan.com | https://ocrkit.com | https://t2sde.org | https://rene.rebe.de

\
 
 \ /
  Last update: 2020-07-08 17:32    [W:0.106 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site