[ofa-general] Re: [ewg] [PATCH] ib_core: save process's virtual address in struct ib_umem
Roland Dreier
rdreier at cisco.com
Mon Jan 26 10:26:25 PST 2009
> It is has to be saved either at the low level driver's mr object,
> e.g. struct mlx4_ib_mr, or at a common place like struct ib_umem. Do
> you prefer that it will be saved in struct mlx4_ib_mr?
I don't see why it has to be saved anywhere? The only place you use
umem->address is in handle_hugetlb_usermr(), and you could just as
easily pass in start directly as a parameter (since
mlx4_ib_reg_user_mr() has that value in a parameter anyway).
- R.
More information about the ewg
mailing list