Re: [PATCH] unlock before bug returns

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rik van Riel
Date: Sunday, October 21, 2007 - 9:10 pm

On Mon, 22 Oct 2007 04:58:45 +0200
Roel Kluin <12o3l@tiscali.nl> wrote:


BUG() kills the current process, but not the whole system.

Unlocking the lock means that the rest of the system has somewhat
of a chance of surviving.  Not unlocking means a guaranteed hang
for the rest of the system, making a BUG() no better than panic.

Please keep the unlock.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] unlock before bug returns, Roel Kluin, (Sun Oct 21, 7:10 pm)
Re: [PATCH] unlock before bug returns, Roel Kluin, (Sun Oct 21, 7:58 pm)
Re: [PATCH] unlock before bug returns, Rik van Riel, (Sun Oct 21, 9:10 pm)
Re: [PATCH] unlock before bug returns, Roel Kluin, (Mon Oct 22, 5:09 am)
Re: [PATCH] unlock before bug returns, Pekka Enberg, (Mon Oct 22, 5:40 am)
Re: [PATCH] unlock before bug returns, Rene Herman, (Mon Oct 22, 5:49 am)
Re: [PATCH] unlock before bug returns, Roel Kluin, (Mon Oct 22, 12:17 pm)