Jason Gunthorpe 3361c29e92 RDMA/umem: Use simpler logic for ib_umem_find_best_pgsz()
The calculation in rdma_find_pg_bit() is fairly complicated, and the
function is never called anywhere else. Inline a simpler version into
ib_umem_find_best_pgsz()

Link: https://lore.kernel.org/r/3-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-09 15:33:17 -03:00
..
2020-08-03 20:37:22 -07:00
2020-08-25 11:00:02 +02:00
2020-08-31 12:28:12 -03:00
2020-08-07 13:00:53 -07:00
2020-08-18 15:58:53 -07:00
2020-08-31 12:28:12 -03:00
2020-08-31 12:28:12 -03:00
2020-08-29 12:44:30 -07:00