All of lore.kernel.org
 help / color / mirror / Atom feed
* Need for ref/unref functions in watchdog drivers
@ 2015-11-30 17:00 Guenter Roeck
  2015-12-03 17:59 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-11-30 17:00 UTC (permalink / raw)
  To: linux-watchdog@vger.kernel.org, wim@iguana.be

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-03 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 17:00 Need for ref/unref functions in watchdog drivers Guenter Roeck
2015-12-03 17:59 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.