linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Ingo Molnar <mingo@elte.hu>
Cc: Roger Larsson <roger.larsson@norran.net>,
	Linus Torvalds <torvalds@transmeta.com>,
	MM mailing list <linux-mm@kvack.org>,
	linux-kernel@vger.kernel.org
Subject: Re: refill_inactive()
Date: Mon, 25 Sep 2000 13:08:05 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0009251306430.14614-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.21.0009251631020.9122-100000@elte.hu>

On Mon, 25 Sep 2000, Ingo Molnar wrote:
> 
> On Mon, 25 Sep 2000, Rik van Riel wrote:
> 
> > 2) you are right, we /can/ schedule when __GFP_IO isn't set, this is
> >    mistake ... now I'm getting confused about what __GFP_IO is all
> >    about, does anybody know the _exact_ meaning of __GFP_IO ?
> 
> __GFP_IO set to 1 means that the allocator can afford doing IO implicitly
> by the page allocator. Most allocations dont care at all wether swap IO is
> started as part of gfp() or not. But a prominent counter-example is
> GFP_BUFFER, which is used by the buffer-cache/fs layer, and which cannot
> do any IO implicitly. (because it *is* the IO layer already, and it is
> already trying to do IO.) The other reason are legacy lowlevel-filesystem
> locks like the ext2fs lock, which cannot be taken recursively.

Hmmm, doesn't GFP_BUFFER simply imply that we cannot
allocate new buffer heads to do IO with??

(from reading buffer.c, I can't see much of a reason
why we couldn't start write IO on already allocated
buffers...)

regards,

Rik
--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/		http://www.surriel.com/

--
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/

  reply	other threads:[~2000-09-25 16:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-24  9:57 refill_inactive() Ingo Molnar
2000-09-24 10:15 ` refill_inactive() Arjan van de Ven
2000-09-24 10:56   ` refill_inactive() Ingo Molnar
2000-09-25 14:06 ` refill_inactive() Rik van Riel
2000-09-25 14:35   ` refill_inactive() Ingo Molnar
2000-09-25 16:08     ` Rik van Riel [this message]
2000-09-25 16:17       ` refill_inactive() Linus Torvalds
2000-09-25 16:33         ` refill_inactive() Rik van Riel
2000-09-25 17:45         ` refill_inactive() Stephen C. Tweedie

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.LNX.4.21.0009251306430.14614-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@elte.hu \
    --cc=roger.larsson@norran.net \
    --cc=torvalds@transmeta.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