linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Zwickel <martin.zwickel@technotrend.de>
To: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CONFIG_4KSTACKS in mm2?
Date: Wed, 7 Apr 2004 16:26:01 +0200	[thread overview]
Message-ID: <20040407162601.4f18ae0f@phoebee> (raw)
In-Reply-To: <20040407140346.GC32088@charite.de>


[-- 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 --]

  reply	other threads:[~2004-04-07 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2004-04-07 14:38     ` Zwane Mwaikambo
2004-04-07 14:43       ` Ralf Hildebrandt
  -- strict thread matches above, loose matches on Subject: below --
2004-04-07 23:56 Sid Boyce

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=20040407162601.4f18ae0f@phoebee \
    --to=martin.zwickel@technotrend.de \
    --cc=Ralf.Hildebrandt@charite.de \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).