From: Christoph Hellwig <hch@sgi.com>
To: "Matt D. Robinson" <yakker@aparity.com>
Cc: Christoph Hellwig <hch@sgi.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.44: lkcd (7/9): dump configuration
Date: Tue, 22 Oct 2002 01:03:15 -0400 [thread overview]
Message-ID: <20021022010315.B18122@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0210211208150.22662-100000@nakedeye.aparity.com>; from yakker@aparity.com on Mon, Oct 21, 2002 at 01:48:51PM -0700
On Mon, Oct 21, 2002 at 01:48:51PM -0700, Matt D. Robinson wrote:
> On Mon, 21 Oct 2002, Christoph Hellwig wrote:
> |>> +tristate 'Crash dump support' CONFIG_CRASH_DUMP
> |>
> |>I"m very unhappy with this beeing a tristate. We have the following
> |>things depend on it either builtin or modular:
> |>
> |>(1) build Kerntypes
> |>(2) do not send smp_stop_cpu
> |>
> |>and the following goes into dump.o:
> |>
> |>(3) dump_base.c
> |>(4) dump_<arch>.c
> |>
> |>Of those (2) should be replaced by a dump_in_progress check so
> |>that we poweroff even with dumping enabled, but not in progress.
>
> There is the concept of non-distruptive dumping, which means
> that you don't power off after a dump -- you keep running. In
> other words, you can silence the system and then resume after
> a dump is taken. It's a way of snapshotting the system state
> which is possible today.
I don't see the relation of that to always disabling smp_send_stop()
in panic(). You only want to disable it if doing a dump, right?
> Wow ... we spent a ton of time moving all the code _out_ of the
> arch directories as other kernel developers didn't want it there.
Hmm. It certainbly is arch-specific..
> From one perspective, the base dump driver is needed in order to
> provide the upper level dumping capabilities as well as some of
> the architecture-specific functionality. That said, however, if
> you make it a bool, it's either on or off -- some people don't
> want it in the kernel all the time, and shouldn't be required
> to build in.
Well, any chance you could get rid of the remaining
CONFIG_CRASH_DUMP || CONFIG_CRASH_DUMP_MODULE ifdefs when
keeping it as tristate? So that I can just load the module
into any kernel?
next prev parent reply other threads:[~2002-10-21 21:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-21 10:16 [PATCH] 2.5.44: lkcd (7/9): dump configuration Matt D. Robinson
2002-10-21 20:52 ` Christoph Hellwig
2002-10-21 20:48 ` Matt D. Robinson
2002-10-22 5:03 ` Christoph Hellwig [this message]
2002-10-22 8:48 ` Suparna Bhattacharya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021022010315.B18122@sgi.com \
--to=hch@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yakker@aparity.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox