Re: [PATCH 01/29] iov_iter: Switch to using a table of operations

From: Christoph Hellwig
Date: Mon Nov 23 2020 - 03:05:55 EST


On Sat, Nov 21, 2020 at 02:13:30PM +0000, David Howells wrote:
> Switch to using a table of operations. In a future patch the individual
> methods will be split up by type. For the moment, however, the ops tables
> just jump directly to the old functions - which are now static. Inline
> wrappers are provided to jump through the hooks.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Please run performance tests. I think the indirect calls could totally
wreck things like high performance direct I/O, especially using io_uring
on x86.