> On Feb 12, 2024, at 11:12 AM, Jason Gunthorpe <jgg@xxxxxxxx> wrote: > > On Mon, Feb 12, 2024 at 11:04:36AM -0500, Kevan Rehm wrote: > >> Those routines call ibv_dontfork_range on the page after it’s been >> allocated via posix_memalign(). _add_page() then adds the new page >> to the mlx5_context field dbr_available_pages. > > Oh, if this is your trouble then upgrade your kernel. This part is > fixed on kernels that have working fork support. That’s the bit that confuses me; all this is happening in user space, what is different in the kernel that would prevent this problem from occurring in user space? Any guess as to how much newer a kernel must be? > > Jason