Re: [stable] 2.6.16.6 breaks java... sort of

From: Andi Kleen
Date: Wed Apr 26 2006 - 01:12:41 EST


"David Wilk" <davidwilk@xxxxxxxxx> writes:

> Ok, I think I need to apologize to everyone here. I have found the
> problem, and it is not with your patch, Hugh. For some reason, the
> config for my 2.6.16.7 source tree had a 1G/3G user/kernel split
> configured. This is very bizaar as I copy my .config from tree to
> tree to avoid any changes in the configuration of my test kernels.

This just shows this dreaded VMSPLIT config was a bad idea in the first
place. There was a reason we didn't have it for such a long time (too
many users get it wrong) and such occurrences just show again that this
is still true.

IMHO it would be best to just remove that option again and require
users who really want to change this to patch their kernels again.

At the very least it should be probably made dependent on CONFIG_EMBEDDED.

-Andi

Mark VMSPLIT EMBEDDED

Too many users get it wrong.

Signed-off-by: Andi Kleen <ak@xxxxxxx>

Index: linux/arch/i386/Kconfig
===================================================================
--- linux.orig/arch/i386/Kconfig
+++ linux/arch/i386/Kconfig
@@ -466,7 +466,7 @@ endchoice

choice
depends on EXPERIMENTAL && !X86_PAE
- prompt "Memory split"
+ prompt "Memory split" if EMBEDDED
default VMSPLIT_3G
help
Select the desired split between kernel and user memory.
-
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/