-r, --remove
This option causes modprobe to remove rather than insert a
module.
If the modules it depends on are also unused, modprobe will try to remove them
too. Unlike insertion, more than one module can be specified on the command line (it
does not make sense to specify module parameters when removing modules).
Maybe a bug in modprobe? It shouldn’t try to remove idxd when the first of the
dependent modules is removed (because idxd is still “in use” by the other).
Either that, or IDXD and these two dependent modules aren’t setting the right
bits to let modprobe know what is going on?
-Tony