]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/odp: Iterate over the whole rbtree directly
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Aug 2019 11:17:00 +0000 (14:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Aug 2019 17:08:24 +0000 (14:08 -0300)
commit7c7d17310c19db9c7e5cd9b9a5588c28dd6c5b46
treebe9de57311a2682650025b3a561ec978c201cd26
parente1374ecf5c8331408915cf98ffa9bf647c7fb393
RDMA/odp: Iterate over the whole rbtree directly

Instead of intersecting a full interval, just iterate over every element
directly. This is faster and clearer.

Link: https://lore.kernel.org/r/20190819111710.18440-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/umem_odp.c
drivers/infiniband/hw/mlx5/odp.c