From: Andrew Morton <akpm@zip.com.au>
To: Pavel Machek <pavel@suse.cz>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [patch] writeback daemons
Date: Mon, 15 Apr 2002 13:38:25 -0700 [thread overview]
Message-ID: <3CBB3A41.8E94C8A@zip.com.au> (raw)
In-Reply-To: <3CB3DE1E.5F811D77@zip.com.au> <20020408203839.C540@toy.ucw.cz>
Pavel Machek wrote:
>
> Hi!
>
> > The number of threads is dynamically managed by a simple
> > demand-driven algorithm.
>
> So... when we are low on free memory, we try to create more threads... Possible
> deadlock?
Nope. The number of threads is never allowed to fall below two,
for this very reason.
If the machine is super-low on memory, attempts to start more threads
fail (usually due to the 1-order allocation for the kernel stack).
I've seen this happen. But the existing two threads are safe,
and that's plenty to get the machine out of trouble.
-
next prev parent reply other threads:[~2002-04-15 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 6:39 [patch] writeback daemons Andrew Morton
2002-04-08 20:38 ` Pavel Machek
2002-04-15 20:38 ` Andrew Morton [this message]
2002-04-15 22:32 ` Pavel Machek
2002-04-15 22:46 ` Andrew Morton
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=3CBB3A41.8E94C8A@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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