lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] arch-specific callout in panic()
Date
On Mon, 23 Feb 2004 12:33:09 -0600, 
Mike Strosaker <strosake@austin.ibm.com> wrote:
>Andrew Morton wrote:
>> We have the panic_notifier_list in there. Cannot you hook into that?
>
>panic_notifier_list is not used becasue we need to ensure that the
>actions in machine_panic are the last ones taken.

panic_notifier_list, like all entries defined via
notifier_chain_register, is run in priority order, with LIFO order
within priority. Register machine_panic first with priority INT_MIN
and it gets called last.

Which reduces your problem to "which one of the 57 initcall levels do I
use for registering machine_panic first on the panic_notifier_list"?

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

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.247 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site