Re: rdma-core: ibv_dontfork_range should not round up to page boundaries

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

 



On Mon, Jan 03, 2022 at 10:26:32AM -0800, Nelson Elhage wrote:

> The proximate bug here is arguably in the libiverbs clients that are
> making the problematic registrations, but I'd like to see libiverbs be
> more helpful here by rejecting non-page-aligned regions, at least in
> fork-safe mode. Marking memory we don't control as `MADV_DONTFORK` is
> *always* incorrect behavior, even if most of the time it may not have
> immediate consequences.

This is a huge ABI break.
 
> I expect this change could pose compatibility problems for existing
> libraries. Potentially it could be rolled out as a warning initially,
> which would help surface the problem and correct downstreams, as well
> as making it easier for administrators to debug this problem.

This is all fixed in newer kernels and rdma-core's. Talk to your
vendors, upgrade, etc..

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