[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] arch-specific callout in panic()
On Mon, 23 Feb 2004 12:33:09 -0600, 
Mike Strosaker <> 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
More majordomo info at
Please read the FAQ at

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