]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Optimize the mr pool struct
authorZhu Yanjun <yanjun.zhu@linux.dev>
Thu, 28 Apr 2022 04:10:28 +0000 (00:10 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 5 May 2022 01:02:58 +0000 (22:02 -0300)
commit87ad83f22a5bebc29a1fc32b98934a939861e703
tree552c7ab68d0766b6f498fbe71e0660a58a6ac1ed
parent56eb1b02604f4c9a7b517d74ffc5835f933e010e
RDMA/rxe: Optimize the mr pool struct

Based on the commit 3168158719fa ("RDMA/rxe: Reverse the sense of
RXE_POOL_NO_ALLOC"), only the mr pool uses the RXE_POOL_ALLOC, As such,
replace this flags with pool type to save memory.

Link: https://lore.kernel.org/r/20220428041028.1363139-1-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_pool.h