Re: [PATCH for-next v4 10/13] RDMA/rxe: Prevent taking references to dead objects

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

 



On Tue, Nov 30, 2021 at 02:05:03PM -0600, Bob Pearson wrote:

> let the driver sleep if there are currently active packets being processed with a mutex
> or semaphore. Additionally we need to cleanup some bad code that makes things not work as
> mentioned.

Drivers have to sleep in their destroy to fully fence any activity
related to the destroying object.

It can't keep operating the object after destroy returns, that is not
our semantic

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