public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Knoblauch <spamtrap@knobisoft.de>
To: linux-kernel@vger.kernel.org
Cc: Peter Zijlstra <peterz@infradead.org>,
	Fengguang Wu <wfg@mail.ustc.edu.cn>
Subject: Likley stupid question on "throttle_vm_writeout"
Date: Mon, 9 Nov 2009 07:15:25 -0800 (PST)	[thread overview]
Message-ID: <799070.68490.qm@web32608.mail.mud.yahoo.com> (raw)

Hi, (please CC me on replies)

 I have a likely stupid question on the function "throttle_vm_writeout". Looking at the code I find:

                if (global_page_state(NR_UNSTABLE_NFS) +
                        global_page_state(NR_WRITEBACK) <= dirty_thresh)
                                break;
                congestion_wait(WRITE, HZ/10);

Shouldn't the NR_FILE_DIRTY pages be considered as well?

Cheers

Martin 
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de


             reply	other threads:[~2009-11-09 15:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 15:15 Martin Knoblauch [this message]
2009-11-09 15:26 ` Likley stupid question on "throttle_vm_writeout" Peter Zijlstra
2009-11-10  2:08   ` Wu Fengguang
2009-11-10  6:55     ` KOSAKI Motohiro
2009-11-10 12:01     ` Martin Knoblauch
2009-11-10 13:08       ` Wu Fengguang
2009-11-10 16:11         ` Martin Knoblauch
2009-11-11  0:45           ` Wu Fengguang

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=799070.68490.qm@web32608.mail.mud.yahoo.com \
    --to=spamtrap@knobisoft.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=wfg@mail.ustc.edu.cn \
    /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