Re: ib_unregister_device - OFED related question

2018-07-07 Thread Hans Petter Selasky
On 07/07/18 02:49, Somayajulu, David wrote: We see that module_unload() grabs the Gaint Lock prior to invoking UNLOAD. Isn't this a problem with cma_process_remove() or am I missing something? Hi, The LinuxKPI should DROP_GIANT and PICKUP_GIANT when sleeping. I haven't checked FreeBSD 10 rec

ib_unregister_device - OFED related question

2018-07-06 Thread Somayajulu, David
Hi All, ib_unregister_device() is typically called as part of the rdma driver module unload for a given device. As part of execution of this function it loops through the following code: ofed/drivers/inifiniband/core/device.