public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Likley stupid question on "throttle_vm_writeout"
@ 2009-11-09 15:15 Martin Knoblauch
  2009-11-09 15:26 ` Peter Zijlstra
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Knoblauch @ 2009-11-09 15:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Zijlstra, Fengguang Wu

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-11  0:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 15:15 Likley stupid question on "throttle_vm_writeout" Martin Knoblauch
2009-11-09 15:26 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox