Messages in this thread | | | From | Keith Owens <> | Subject | Re: [PATCH] arch-specific callout in panic() | Date | Tue, 24 Feb 2004 15:25:30 +1100 |
| |
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/
| |