>>> 2) move this macro to ib_umem.h >> 2 I guess. > I will send a patch with the suggested options in a few minutes. Actually just move the macro to umem.c since that's the only place it is (or should be) used anyway. - R.