Re: [PATCH] RDMA/rxe: Make rxe_type_info static const
From: Jason Gunthorpe
Date: Wed Oct 27 2021 - 12:56:03 EST
On Sun, Oct 24, 2021 at 10:13:14AM -0700, Joe Perches wrote:
> Make struct rxe_type_info static const and local to the only uses.
> Moves a bit of data to text.
>
> $ size drivers/infiniband/sw/rxe/rxe_pool.o* (defconfig w/ infiniband swe)
> text data bss dec hex filename
> 4456 12 0 4468 1174 drivers/infiniband/sw/rxe/rxe_pool.o.new
> 3817 652 0 4469 1175 drivers/infiniband/sw/rxe/rxe_pool.o.old
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> drivers/infiniband/sw/rxe/rxe_pool.c | 28 ++++++++++++++++++----------
> drivers/infiniband/sw/rxe/rxe_pool.h | 14 --------------
> 2 files changed, 18 insertions(+), 24 deletions(-)
Applied to for-next, thanks
Jason