All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RDMA/cm: Optimise rbtree searching
@ 2021-05-12 10:05 Zhen Lei
  2021-05-12 10:05 ` [PATCH v2 1/2] RDMA/cm: Delete two redundant condition branches Zhen Lei
  2021-05-12 10:05 ` [PATCH v2 2/2] RDMA/cm: Optimise rbtree searching Zhen Lei
  0 siblings, 2 replies; 7+ messages in thread
From: Zhen Lei @ 2021-05-12 10:05 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe, Leon Romanovsky, linux-rdma; +Cc: Zhen Lei

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-13  2:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 10:05 [PATCH v2 0/2] RDMA/cm: Optimise rbtree searching Zhen Lei
2021-05-12 10:05 ` [PATCH v2 1/2] RDMA/cm: Delete two redundant condition branches Zhen Lei
2021-05-12 10:05 ` [PATCH v2 2/2] RDMA/cm: Optimise rbtree searching Zhen Lei
2021-05-12 12:50   ` Jason Gunthorpe
2021-05-12 13:12     ` Leizhen (ThunderTown)
2021-05-12 14:26       ` Jason Gunthorpe
2021-05-13  2:25         ` Leizhen (ThunderTown)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.