summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-05 00:41:44 +0200
committerJason Gunthorpe <jgg@nvidia.com>2020-09-09 20:33:17 +0200
commit3361c29e9279e682c0e9a7d7461b4e3bbc77830b (patch)
treea4c62c20f951a7cb9f009b0716f25d74b5f4fe81 /.clang-format
parentRDMA/umem: Prevent small pages from being returned by ib_umem_find_best_pgsz() (diff)
downloadlinux-3361c29e9279e682c0e9a7d7461b4e3bbc77830b.tar.xz
linux-3361c29e9279e682c0e9a7d7461b4e3bbc77830b.zip
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions