Searched hist:b92d766c87022fc82cd6da774010b71ee92fc3d3 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | diff b92d766c87022fc82cd6da774010b71ee92fc3d3 Wed Nov 03 06:02:33 CET 2021 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Save object pointer in pool element
In rxe_pool.c currently there are many cases where it is necessary to compute the offset from a pool element struct to the object containing it in a type independent way where the offset is different for each type. By saving a pointer to the object when they are created extra work can be saved.
Link: https://lore.kernel.org/r/20211103050241.61293-5-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
H A D | rxe_pool.c | diff b92d766c87022fc82cd6da774010b71ee92fc3d3 Wed Nov 03 06:02:33 CET 2021 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Save object pointer in pool element
In rxe_pool.c currently there are many cases where it is necessary to compute the offset from a pool element struct to the object containing it in a type independent way where the offset is different for each type. By saving a pointer to the object when they are created extra work can be saved.
Link: https://lore.kernel.org/r/20211103050241.61293-5-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|