mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Andi Kleen <ak@suse.de>
Cc: discuss@x86-64.org, bunk@stusta.de, torvalds@osdl.org,
	akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [discuss] Re: [PATCH] [6/6] i386: Move CONFIG_DOUBLEFAULT into arch/i386 where it belongs.
Date: Tue, 18 Apr 2006 19:08:39 -0700	[thread overview]
Message-ID: <20060418190839.3fa53a0f.rdunlap@xenotime.net> (raw)
In-Reply-To: <200604182212.13835.ak@suse.de>

On Tue, 18 Apr 2006 22:12:13 +0200 Andi Kleen wrote:

> On Tuesday 18 April 2006 21:05, Adrian Bunk wrote:
> > On Tue, Apr 18, 2006 at 12:35:22PM +0200, Andi Kleen wrote:
> > > 
> > > Signed-off-by: Andi Kleen <ak@suse.de>
> > >...
> > 
> > NAK.
> >  submitting a patch that is the revert of a patch that went 
> > into Linus' tree just 8 days ago [1], I'd expect at least:
> > - a Cc to the people involved with the patch you are reverting
> > - a note that you are reverting a recent patch in your patch
> >   description
> > - an explanation why you disagree with the patch you are reverting
> 
> The subject was very clear. i386 options belong into arch/i386.

Yes, the timing could have been better.  Whatever.

I agree with Andi that it should be moved back to the ix86 Processor
menu, but not where he moved it to.  My patch is below.

> -Andi (who actually thinks the whole thing was always a bad idea - saving
> a few K but giving up such debugging is a poor trade off)

It does default to Y and can only be changed if EMBEDDED is enabled.
I don't think that it really should be in the Kernel hacking menu.

---

From: Randy Dunlap <rdunlap@xenotime.net>

Put DOUBLEFAULT option back in the i386 Processor menu, but
not at the very top of it like it was originally, where it
was out of place in the menu structure.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 arch/i386/Kconfig |    9 +++++++++
 init/Kconfig      |    9 ---------
 2 files changed, 9 insertions(+), 9 deletions(-)

--- linux-2617-rc1g12.orig/arch/i386/Kconfig
+++ linux-2617-rc1g12/arch/i386/Kconfig
@@ -282,6 +282,15 @@ config X86_VISWS_APIC
 	depends on X86_VISWS
 	default y
 
+config DOUBLEFAULT
+	default y
+	bool "Enable doublefault exception handler" if EMBEDDED
+	help
+          This option allows trapping of rare doublefault exceptions that
+          would otherwise cause a system to silently reboot. Disabling this
+          option saves about 4k and might cause you much additional grey
+          hair.
+
 config X86_MCE
 	bool "Machine Check Exception"
 	depends on !X86_VOYAGER
--- linux-2617-rc1g12.orig/init/Kconfig
+++ linux-2617-rc1g12/init/Kconfig
@@ -374,15 +374,6 @@ config SLAB
 	  SLOB is more space efficient but does not scale well and is
 	  more susceptible to fragmentation.
 
-config DOUBLEFAULT
-	default y
-	bool "Enable doublefault exception handler" if EMBEDDED && X86_32
-	help
-          This option allows trapping of rare doublefault exceptions that
-          would otherwise cause a system to silently reboot. Disabling this
-          option saves about 4k and might cause you much additional grey
-          hair.
-
 endmenu		# General setup
 
 config TINY_SHMEM

---

  reply	other threads:[~2006-04-19  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 10:35 Andi Kleen
2006-04-18 19:05 ` Adrian Bunk
2006-04-18 20:12   ` [discuss] " Andi Kleen
2006-04-19  2:08     ` Randy.Dunlap [this message]
2006-04-20 11:49       ` Adrian Bunk
2006-04-20 13:26         ` Andi Kleen
2006-04-20 13:47           ` Adrian Bunk

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=20060418190839.3fa53a0f.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=discuss@x86-64.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®