From: Alexander Viro <viro@math.psu.edu>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Andrea Arcangeli <andrea@suse.de>, Jens Axboe <axboe@suse.de>,
Rik van Riel <riel@conectiva.com.br>,
linux-mm@kvack.org
Subject: Re: [RFC] gfp_mask for address_space
Date: Mon, 4 Dec 2000 08:56:31 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.21.0012040850150.5153-100000@weyl.math.psu.edu> (raw)
In-Reply-To: <20001204134045.B8700@redhat.com>
On Mon, 4 Dec 2000, Stephen C. Tweedie wrote:
> However, it doesn't actually fix all of the problems. We still have
> balance_dirty() deadlocks even if we avoid memory allocation loops.
I know. However, these are somewhat easier to kill. E.g. we could give
weights to devices (normal => 0, loopback over file on device of level
n => n+1) and split bdflush into per-weight threads. Then we have an
obvious hierarchy (activity of bdflush[n] can't lead to new dirty bh
of weight n and above).
> The problem right now is that the balance_dirty() inside the nbd
> server can result in it attempting to flush out dirty nbd buffers, so
> we have the nbd device blocked on the nbd server, the nbd server
> dirtying local disk buffer_heads, and the dirty buffer code blocking
> on other dirty nbd buffers.)
Ditto for loop and the same method can be applied...
I'm actually more interested in experimenting with bitmaps in page
cache - making it GFP_BUFFER should be deadlock-safe, AFAICS, and
ext2/balloc.c would benefit big way from switching to that...
Cheers,
Al
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
prev parent reply other threads:[~2000-12-04 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20001119114052.B9031@suse.de>
[not found] ` <Pine.GSO.4.21.0012011548370.25379-100000@weyl.math.psu.edu>
2000-12-04 13:40 ` Stephen C. Tweedie
2000-12-04 13:56 ` Alexander Viro [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=Pine.GSO.4.21.0012040850150.5153-100000@weyl.math.psu.edu \
--to=viro@math.psu.edu \
--cc=andrea@suse.de \
--cc=axboe@suse.de \
--cc=linux-mm@kvack.org \
--cc=riel@conectiva.com.br \
--cc=sct@redhat.com \
/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