[lkml]   [2006]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Fastboot] [RFC][PATCH] Add missing notifier before crashing
Preben Traerup <> writes:

> Since I'm one of the people who very much would like best of both worlds,
> I do belive Vivek Goyal's concern about the reliability of kdump must be
> adressed properly.
> I do belive the crash notifier should at least be a list of its own.
> Attaching element to the list proves your are kdump aware - in theory
> However:
> Conceptually I do not like the princip of implementing crash notifier
> as a list simply because for all (our) practical usage there will only
> be one element attached to the list anyway.
> And as I belive crash notifiers only will be used by a very limited
> number of users, I suggested in another mail that a simple
> if (function pointer)
> call functon
> approach to be used for this special case to keep things very simple.

I am completely against crash notifiers. The code crash_kexec switches to
is what is notified and it can do whatever it likes. The premise is
that the kernel does not work. Therefore we cannot safely notify
kernel code. We do the very minimal to get out of the kernel,
and it is my opinion we still do to much.

The crash_kexec entry point is not about taking crash dumps. It is
about implementing policy when the kernel panics. Generally the
policy we want is a crash dump but the mechanism is general purpose
and not limited to that.

You can put anything you want for crash_kexec to execute.

If the problem is strictly limited to hardware failure and software
can cope with that then don't panic the kernel and execute an orderly

If software cannot cope, and must panic the kernel it clearly cannot
do something sensible.

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: 2006-06-02 13:56    [W:0.135 / U:8.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site