Re: [PATCH 02/24] iov_iter: Renumber the ITER_* constants in uio.h

From: Al Viro
Date: Sat Oct 20 2018 - 00:59:42 EST


On Sat, Oct 20, 2018 at 02:10:52AM +0100, David Howells wrote:
> Renumber the ITER_* constants in uio.h to be contiguous to make comparing
> them more efficient in a switch-statement.

Are you sure that they *are* more efficient that way? Some of those paths
are fairly hot, so much that I would really like to see profiles before
and after these changes (both this and the previous one).