lkml.org 
[lkml]   [2018]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/24] iov_iter: Renumber the ITER_* constants in uio.h
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).

\
 
 \ /
  Last update: 2018-10-20 07:00    [W:0.565 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site