Re: drivers/watchdog/geodewdt.c: build fix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jordan Crouse
Date: Friday, May 30, 2008 - 9:05 am

On 30/05/08 11:54 -0400, David Brigada wrote:

I think the hamster dropping code is queued for 2.6.27, so at least we're
up to mammals.

The story here is that in an unfortunate instance of bad planning the
MFGPT timers can only be configured once, so a module can't allocate a
timer at init and release it when it is done.  The original object of this
code was to try give the timer back to a module if it happened to go away
and come back, but that is clearly a more complex process then just simply
storing the module name, and this code fell into bitrot.

So its not so much that we need to drop module support, rather it needs to
be understood that if you remove and insert your module on a regular basis
you will run out of timers, and deprive others of the timers too. I think
that is a reasonable restriction to impose, given the limited usefulness 
of these timers for general purpose use.

Jordan


-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [WATCHDOG] v2.6.26-rc3 patches, Alan Cox, (Sun May 25, 3:08 am)
[WATCHDOG] v2.6.26-rc3 patches, Wim Van Sebroeck, (Sun May 25, 3:09 am)
Re: [WATCHDOG] v2.6.26-rc3 patches, Wim Van Sebroeck, (Sun May 25, 10:05 am)
[patch] drivers/watchdog/geodewdt.c: build fix, Ingo Molnar, (Fri May 30, 8:02 am)
Re: drivers/watchdog/geodewdt.c: build fix, Jordan Crouse, (Fri May 30, 8:39 am)
Re: drivers/watchdog/geodewdt.c: build fix, David Brigada, (Fri May 30, 8:54 am)
Re: drivers/watchdog/geodewdt.c: build fix, Jordan Crouse, (Fri May 30, 9:05 am)
Re: drivers/watchdog/geodewdt.c: build fix, Lennart Sorensen, (Fri May 30, 9:24 am)
Re: drivers/watchdog/geodewdt.c: build fix, Jordan Crouse, (Fri May 30, 9:48 am)