Re: New DRM driver model - gets rid of DRM() macros!

From: Alan Cox
Date: Wed Sep 29 2004 - 17:10:29 EST


On Mer, 2004-09-29 at 22:52, Felix KÃhling wrote:
> Module Size Used by
> savage 3520 0
> drm 62500 3 savage
>
> Is it normal that the savage module looks unused?

looks like a bug. If the drm layer provides the file_operations for
the device node then the locking done automatically locks the wrong
module. Thats easy to fix with try_module_get() and module_put()

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/