Re: [PATCH for-next 0/1] IB/{hw,sw}: remove 'uobject->context' dependency APIs

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

 



On Thu, Jan 17, 2019 at 09:06:57PM +0200, Shamir Rabinovitch wrote:
> This patch continue the cleanup started with Jason RFC patch. This patch
> clean only the ib_xxx creation APIs beacuse those APIs do have ib_udata.
> 
> The final goal of this cleanup is to remove the dependency in the IB
> code in the ib_xxx->uobject pointer as step toward shared ib_xxx
> objects.
> 
> Seperate patch will be sent for the ib_xxx deletion APIs which do not
> have the ib_udata. For those the solution will have to be different.

This is a problem too - we should probably figure it out before moving
too much further ahead. The delete APIs can be called from any
ucontext that has the shared object, and it seems like many drivers
require the destroy's ucontext to match the create ucontext..

What is the plan here? Ban drivers from sharing that are like this?

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