[ofa-general] Re: [ewg] [PATCH] ib_core: save process's virtual address in struct ib_umem

Eli Cohen eli at dev.mellanox.co.il
Thu Jan 29 07:46:42 PST 2009


On Thu, Jan 29, 2009 at 07:33:22AM -0800, Roland Dreier wrote:
>  > I see... you're right - no need to stick the address into struct
>  > ib_umem. Following this email is a new patch for mlx4_ib only. I
>  > excluded support for both powerpc and ia64 since I could not find a
>  > way to get HPAGE_SIZE (or HPAGE_SHIFT) for them.
> 
> #include <asm/page.h> ?
> 
It does not help. The problem with powerpc is that HPAGE_SHIFT is an
unexported variable and for ia64 it's hpage_shift.



More information about the ewg mailing list