* CONFIG_4KSTACKS in mm2?
@ 2004-04-07 13:55 Ralf Hildebrandt
2004-04-07 14:01 ` Zwane Mwaikambo
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Hildebrandt @ 2004-04-07 13:55 UTC (permalink / raw)
To: linux-kernel
Is there a way of disabling CONFIG_4KSTACKS in 2.6.5-mm2?
Or to make it configurable?
--
Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte AIM. ralfpostfix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
2004-04-07 13:55 CONFIG_4KSTACKS in mm2? Ralf Hildebrandt
@ 2004-04-07 14:01 ` Zwane Mwaikambo
2004-04-07 14:03 ` Ralf Hildebrandt
0 siblings, 1 reply; 7+ messages in thread
From: Zwane Mwaikambo @ 2004-04-07 14:01 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux-kernel
On Wed, 7 Apr 2004, Ralf Hildebrandt wrote:
> Is there a way of disabling CONFIG_4KSTACKS in 2.6.5-mm2?
> Or to make it configurable?
"arch/i386/Kconfig" line 1498 of 1542 --97%-- col 8
config 4KSTACKS
def_bool y
you could just change that to 'n'
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
2004-04-07 14:01 ` Zwane Mwaikambo
@ 2004-04-07 14:03 ` Ralf Hildebrandt
2004-04-07 14:26 ` Martin Zwickel
2004-04-07 14:38 ` Zwane Mwaikambo
0 siblings, 2 replies; 7+ messages in thread
From: Ralf Hildebrandt @ 2004-04-07 14:03 UTC (permalink / raw)
To: linux-kernel
* Zwane Mwaikambo <zwane@linuxpower.ca>:
> > Is there a way of disabling CONFIG_4KSTACKS in 2.6.5-mm2?
> > Or to make it configurable?
>
> "arch/i386/Kconfig" line 1498 of 1542 --97%-- col 8
> config 4KSTACKS
> def_bool y
>
> you could just change that to 'n'
That's what I did (and it works) -- but it's not really intuitive or
even configurable (in the way of menuconfig or something).
--
Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte AIM. ralfpostfix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
2004-04-07 14:03 ` Ralf Hildebrandt
@ 2004-04-07 14:26 ` Martin Zwickel
2004-04-07 14:38 ` Zwane Mwaikambo
1 sibling, 0 replies; 7+ messages in thread
From: Martin Zwickel @ 2004-04-07 14:26 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 927 bytes --]
On Wed, 7 Apr 2004 16:03:47 +0200
Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> bubbled:
> * Zwane Mwaikambo <zwane@linuxpower.ca>:
>
> > > Is there a way of disabling CONFIG_4KSTACKS in 2.6.5-mm2?
> > > Or to make it configurable?
> >
> > "arch/i386/Kconfig" line 1498 of 1542 --97%-- col 8
> > config 4KSTACKS
> > def_bool y
> >
> > you could just change that to 'n'
>
> That's what I did (and it works) -- but it's not really intuitive or
> even configurable (in the way of menuconfig or something).
>
here is the patch to reenable the menu config option ...
--
MyExcuse:
What office are you in? Oh, that one. Did you know that your building was built
over the universities first nuclear research site? And wow, aren't you the lucky
one, your office is right over where the core is buried!
Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development
TechnoTrend AG <http://www.technotrend.de>
[-- Attachment #1.2: mm-4k-reenable.patch --]
[-- Type: application/octet-stream, Size: 790 bytes --]
diff -Naurp linux-2.6.5-rc1-mm1/arch/i386/Kconfig linux-2.6.5-rc1-mm1-removed/arch/i386/Kconfig
--- linux-2.6.5-rc1-mm1/arch/i386/Kconfig 2004-03-16 21:28:03.000000000 +0100
+++ linux-2.6.5-rc1-mm1-removed/arch/i386/Kconfig 2004-03-16 21:32:08.000000000 +0100
@@ -1555,7 +1555,14 @@ config MAGIC_SYSRQ
default y
config 4KSTACKS
- def_bool y
+ bool "Use 4Kb for kernel stacks instead of 8Kb"
+ default n
+ help
+ If you say Y here the kernel will use a 4Kb stacksize for the
+ kernel stack attached to each process/thread. This facilitates
+ running more threads on a system and also reduces the pressure
+ on the VM subsystem for higher order allocations. This option
+ will also use IRQ stacks to compensate for the reduced stackspace.
config X86_FIND_SMP_CONFIG
bool
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
2004-04-07 14:03 ` Ralf Hildebrandt
2004-04-07 14:26 ` Martin Zwickel
@ 2004-04-07 14:38 ` Zwane Mwaikambo
2004-04-07 14:43 ` Ralf Hildebrandt
1 sibling, 1 reply; 7+ messages in thread
From: Zwane Mwaikambo @ 2004-04-07 14:38 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux-kernel
On Wed, 7 Apr 2004, Ralf Hildebrandt wrote:
> * Zwane Mwaikambo <zwane@linuxpower.ca>:
>
> > > Is there a way of disabling CONFIG_4KSTACKS in 2.6.5-mm2?
> > > Or to make it configurable?
> >
> > "arch/i386/Kconfig" line 1498 of 1542 --97%-- col 8
> > config 4KSTACKS
> > def_bool y
> >
> > you could just change that to 'n'
>
> That's what I did (and it works) -- but it's not really intuitive or
> even configurable (in the way of menuconfig or something).
Andrew Morton turned it on unconditionally on purpose for wider testing.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
2004-04-07 14:38 ` Zwane Mwaikambo
@ 2004-04-07 14:43 ` Ralf Hildebrandt
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Hildebrandt @ 2004-04-07 14:43 UTC (permalink / raw)
To: linux-kernel
* Zwane Mwaikambo <zwane@linuxpower.ca>:
> > That's what I did (and it works) -- but it's not really intuitive or
> > even configurable (in the way of menuconfig or something).
>
> Andrew Morton turned it on unconditionally on purpose for wider testing.
Yep. It doesn't work with Nvidia's nvidia kernel drivers. But what's
new :)
--
Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte AIM. ralfpostfix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CONFIG_4KSTACKS in mm2?
@ 2004-04-07 23:56 Sid Boyce
0 siblings, 0 replies; 7+ messages in thread
From: Sid Boyce @ 2004-04-07 23:56 UTC (permalink / raw)
To: linux-kernel
Ralf Hindlebrand wrote:
* Zwane Mwaikambo <zwane@xxxxxxxxxxxxx>:
> >/ > That's what I did (and it works) -- but it's not really
intuitive or/
> >/ > even configurable (in the way of menuconfig or something)./
>/ >/
> >/ Andrew Morton turned it on unconditionally on purpose for wider
testing./
> Yep. It doesn't work with Nvidia's nvidia kernel drivers. But what's
> new :)
What's new is that I forgot to turn it off, I'd been running 2.6.5-cko1,
built 2.6.5-mm1, booted up and installed nvidia kernel for it. I ended
up with a trashed HD which needed reformatiing and a fresh install. I
don't know what symptoms I should have seen, perhaps nvidia failing to
work. I suspect it was a combination of 4K_STACKS and some hardware bug
for which I am going to change the motherboard, memory and Athlon CPU as
I've had odd hangs during boot. A few boots hung, finally I disabled
level 2 cache and it came up, so I think I will leave the next bootup
till the new stuff is installed. I previously had a hard drive that
would not boot fully after starting X with nvidia, though it's mountable
as hdc1 and I can get at all the stuff I need.
Regards
Sid.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-04-07 23:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 13:55 CONFIG_4KSTACKS in mm2? Ralf Hildebrandt
2004-04-07 14:01 ` Zwane Mwaikambo
2004-04-07 14:03 ` Ralf Hildebrandt
2004-04-07 14:26 ` Martin Zwickel
2004-04-07 14:38 ` Zwane Mwaikambo
2004-04-07 14:43 ` Ralf Hildebrandt
2004-04-07 23:56 Sid Boyce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).