Need for ref/unref functions in watchdog drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I keep being puzzled about the ref/unref functions for watchdog drivers.

Hardly any driver implements those functions, even though many allocate
the watchdog_device data structure dynamically. At the same time, I don't
recall ever seeing a crash or traceback because of it.

Granted, many watchdogs are only loaded and never unloaded, but one
should think that the problem is seen at least once in a while.

Does anyone know how to trigger the problem which makes the ref/unref
functions necessary ? I would like to reproduce it and then try to find a better
solution, ie one that doesn't need those functions in the drivers (seems to me
the infrastructure should ensure that a driver isn't unloaded while in use).

Thanks,
Guenter

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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux