Re: [PATCH 00/17] SCSI data path micro-optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 05, 2014 at 03:41:04PM -0800, James Bottomley wrote:
> I will say that you do make the series hard to review by including
> things that do code churn for no gain: like making all the error
> handling goto based instead of the current in-place if () clause
> based ... this doesn't do anything for optmisation, so why do it?  (I'm
> not going to take sides on which is better, since we do both).

You mean the command allocation bits?  When I inline one function into a
nother I might as well add coherent error handling.  And for more than
one level of unwinding gotos are always better because a humand actually
can grasp it.

> There's also a lot of extraneous stuff in here.  I'm assuming most of
> the performance stuff is get/put removal and locking efficiency, things
> like this

This was already cut down.   If it makes your life easier we can do the
cmd allocation part separate of the rest, but there's really no "churn"
left.

> 
> 2,3,5 are allocation simplification.  In general it doesn't look so bad,
> but it doesn't seem to be part of the series.  It needs an ACK from the
> megaraid people since they're the only consumer of the interface you're
> trying to eliminate

It's needed to not make the cmd_size addition not a complete mess.

> 
> 6,7 is a new interface for command allocation and a virtio consumer.
> OK, as it goes, but also separable ... and preferably, if, as you say,
> it's important for mq, some more users, also doesn't need to be part of
> the series.

Feel free to consider 1-7 and the rest separate series already, I'll
resend them that way next time.

> 9,10 look like they aren't your patches, so they need an Author From:
> field for git (9 needs your signoff, if you're sending it).

The are, and they are properly attributed in the git tree.
Unfortunately quilt still hasn't learned to properly deal with From:
headers.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux