RTDM module ownership

Richard Weinberger richard at nod.at
Fri Jul 3 08:22:51 CEST 2020

----- Urspr√ľngliche Mail -----
>> In contrast, on regular Linux rmmod will refuse to unload the module
>> if the device node is still open because fops_get() or other helpers
>> gained a reference on the owner.
> First of all, your driver is apparently not reacting on the close
> request that it receives in that case. This leads the the stall you see.

Huh? rmmmod triggers close of what?
> Still, we could indeed run some module_put/get on open/socket/close. I
> thought we did, but that was once RTnet [1].

Yes. Would be nice. :-)


More information about the Xenomai mailing list