> Changing which API? Verbs API. Since there is no way to figure out (as we know) from user space if a given memory region is backed by a huge page or default one, we can allow the user to supply us this info on memory registration. For that we need to add version of ibv_reg_mr() with additional input parameter for page size (the same for ibv_dontfork_range() and ibv_dofork_range()).
> Changing the kernel is a possibility of course. In my opinion if we have the user space solution it is preferable than changing the kernel, which is more complex path. Alex. Roland Dreier Wrote: > > But we couldn't find another one without changing the API or changing > > the kernel. > > Changing which API? Changing the kernel is a possibility of course. > > - R. > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html