Re: Segfault in mlx5 driver on infiniband after application fork

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux