On Mon, Nov 05, 2018 at 08:54:22AM +0200, Shamir Rabinovitch wrote: > On Sun, Nov 04, 2018 at 02:20:51PM +0200, Shamir Rabinovitch wrote: > > On Sun, Nov 04, 2018 at 10:36:32AM +0200, Shamir Rabinovitch wrote: > > > On Wed, Oct 31, 2018 at 11:55:15AM -0600, Jason Gunthorpe wrote: > > > > On Wed, Oct 31, 2018 at 02:42:42PM +0200, Shamir Rabinovitch wrote: [...] > > Jason, pushing udata to wherever it was missing was not so bad as I > thought so this part is OK. I only left with question around your > request to use 'ib_x->uobject'. If it is OK with you I'd rather to > switch those which only tell user/kernel to rdma_is_user_pd as was in > the previous revision. > > Thanks Jason, Series #2 (pending on series #1) add ib_udata in ib_device callbacks. I noticed that if I add those patches to series #1 I can use ib_udata in almost all the places as you wanted. I have created and tested this new patch set and it is on my github. I think it can solve some of the issues you had with v3 of the patch set. Please tell me if you like me to post this revised patch set here instead of fixing the current patch set. https://github.com/torvalds/linux/compare/master...srabinov:for-next%23remove-uobj-from-ib_pd.v4.patch-set-1 Thanks