Re: [PATCH 01/11] CIFS: Simplify inFlight logic

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

 



2012/2/28 Steve French <smfrench@xxxxxxxxx>:
> I got a chance to look through this patch set in more detail on the way
> to the SMB2.2 test event.  I liked many of the patches, but this one
> seems to complicate, rather than simplify by adding a spinlock
> to what used to be an atomic_inc.  There is also a possibility that this
> spinlock will become hot.  I don't mind moving the atomic_inc inside the
> new dec_in_flight macro though to make it easier in the future.
>

I tested the performance with and without this patch with dbench 3.
The variant with the patch is slightly worse (~1%). So, seems no
problem with this approach because we need to spinlock echo/oplock
specific variables anyway further.

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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux