[openib-general] module refcounting

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 24 08:03:26 PST 2005


Quoting r. Roland Dreier <roland at topspin.com>:
> Subject: Re: [openib-general] module refcounting
> 
>     Michael> Hi!  It seems currently I am unable to remove the
>     Michael> ib_mthca modules if opensm is running.
> 
> I actually don't know what is incrementing the reference count of the
> ib_mthca module.  However it's probably a good thing because all sorts
> of problems will arise if ib_mthca is removed while opensm is still
> running and trying to send MADs, etc.
> 
>  - R.

Hmm.

Not sure how important it is for sm (probably only root runs it),
but for other ulps I think you dont want a regular user to
be able to prevent root from unloading the driver, right?

mst

-- 
I dont speak for Mellanox.



More information about the general mailing list