public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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 15:46:05 -0700	[thread overview]
Message-ID: <3CBB582D.75BEA8F6@zip.com.au> (raw)
In-Reply-To: <3CB3DE1E.5F811D77@zip.com.au> <20020408203839.C540@toy.ucw.cz> <3CBB3A41.8E94C8A@zip.com.au> <20020415223230.GC3406@atrey.karlin.mff.cuni.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.
> 
> I thought this was the case. BTW do you need *two* threads for
> reliable operation, or is one enough?

I chose two because we used to have two - kupdate and bdflush.
But yes, surely one is sufficient.  Added to the todo file.

-

      reply	other threads:[~2002-04-15 22:46 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
2002-04-15 22:32     ` Pavel Machek
2002-04-15 22:46       ` Andrew Morton [this message]

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=3CBB582D.75BEA8F6@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