From: Andi Kleen <ak@suse.de>
To: Dave McCracken <dmccr@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.4.19-pre2] Make max_threads be based on normal zone size
Date: 01 Mar 2002 19:14:41 +0100 [thread overview]
Message-ID: <p73vgcgjgtq.fsf@oldwotan.suse.de> (raw)
In-Reply-To: <71650000.1015004327@baldur.suse.lists.linux.kernel>
In-Reply-To: Dave McCracken's message of "1 Mar 2002 18:42:55 +0100"
Dave McCracken <dmccr@us.ibm.com> writes:
> The max_threads config parameter (used to determine how many tasks to
> allow) is currently calculated based on the total amount of physical memory
> in the machine. This is wrong, since the real limiting factor is the
> amount of memory in the normal zone.
>
> This patch fixes the initialization of max_threads by allowing an
> architecture to specify how much memory is in the normal zone, and using
> that value to initialize max_threads.
There are lots of other functions with the same problem (like all the
hash table sizing and others). Perhaps these should be fixed too?
-Andi
next parent reply other threads:[~2002-03-01 18:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <71650000.1015004327@baldur.suse.lists.linux.kernel>
2002-03-01 18:14 ` Andi Kleen [this message]
2002-03-01 18:19 ` Dave McCracken
2002-03-01 17:38 Dave McCracken
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=p73vgcgjgtq.fsf@oldwotan.suse.de \
--to=ak@suse.de \
--cc=dmccr@us.ibm.com \
--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
all inboxes | Powered by JetHome®