Re: Vectored syscalls Was: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

From: Greg Kroah-Hartman
Date: Wed Jul 08 2020 - 11:39:05 EST


On Wed, Jul 08, 2020 at 05:16:41PM +0200, René Rebe wrote:
> 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()?

Why not just use io_uring for that for I/O calls, that's what it is
designed for.

More "generic" syscall batching always ends up falling down in
complexity anytime anyone tries it. Good luck!

greg k-h