[PATCH v2 0/2] RDMA/cm: Optimise rbtree searching

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

 



v1 --> v2:
1. On the advice of Jason Gunthorpe, add patch 2
Rewrite the rbtree traversing in the normal pattern:
if (a < b)
    ..
else if (a > b)
    ..
else // a == b
    ..

Zhen Lei (2):
  RDMA/cm: Delete two redundant condition branches
  RDMA/cm: Optimise rbtree searching

 drivers/infiniband/core/cm.c | 54 +++++++++++++++++-------------------
 1 file changed, 26 insertions(+), 28 deletions(-)

-- 
2.26.0.106.g9fadedd





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux