[2.6 patch] let 4KSTACKS depend on EXPERIMENTAL (fwd)

From: Adrian Bunk
Date: Mon Aug 02 2004 - 18:01:14 EST


Hi Andrew,

I'd like to see the patch below included in 2.6.8 .


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Sun, 1 Aug 2004 21:02:41 +0200
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Nathan Scott <nathans@xxxxxxx>
Cc: Arjan van de Ven <arjanv@xxxxxxxxxx>,
"Jeffrey E. Hundstad" <jeffrey.hundstad@xxxxxxxx>,
Linus Torvalds <torvalds@xxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>,
Steve Lord <lord@xxxxxxx>, linux-xfs@xxxxxxxxxxx,
Cahya Wirawan <cwirawan@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] let 4KSTACKS depend on EXPERIMENTAL

On Fri, Jul 30, 2004 at 08:30:40AM +1000, Nathan Scott wrote:
>...
> Adrian wrote:
> > 2.6 is a stable kernel series used in production environments.
> >
> > Regarding Linus' tree, it's IMHO the best solution to work around it
> > this way until all issues are sorted out.
>
> I'm not really convinced - the EXPERIMENTAL marking should
> be plenty of a deterent to folks in production environments.
> There are reports of stack overruns on other filesystems as
> well with 4KSTACKS, so doesn't seem worthwhile to me to do
> this just for XFS.


OK, below is a patch that only adds a dependency of 4KSTACKS on
EXPERIMENTAL.

Considering that not all issues with 4kb stacks are currently corrected,
this patch should IMHO go in 2.6.8 .


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.8-rc2-mm1-full/arch/i386/Kconfig.old 2004-08-01 20:59:02.000000000 +0200
+++ linux-2.6.8-rc2-mm1-full/arch/i386/Kconfig 2004-08-01 20:59:46.000000000 +0200
@@ -1474,7 +1474,8 @@
to solve problems without frame pointers.

config 4KSTACKS
- bool "Use 4Kb for kernel stacks instead of 8Kb"
+ bool "Use 4Kb for kernel stacks instead of 8Kb (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
help
If you say Y here the kernel will use a 4Kb stacksize for the
kernel stack attached to each process/thread. This facilitates


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/