Re: [PATCH] RDMA/restrack: Reorder fields in 'struct rdma_restrack_entry'

From: Jason Gunthorpe
Date: Tue Feb 14 2023 - 08:08:48 EST


On Tue, Feb 14, 2023 at 01:53:52PM +0100, Christophe JAILLET wrote:
> diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h
> index 8b7c46daeb07..da53fefe6f9e 100644
> --- a/include/rdma/restrack.h
> +++ b/include/rdma/restrack.h
> @@ -80,6 +80,10 @@ struct rdma_restrack_entry {
> * query stage.
> */
> u8 no_track : 1;
> + /**
> + * @user: user resource
> + */
> + bool user;

Can we combine this into the bitfield above?

Jason