Re: [PATCH] kswapd should only wait on IO if there is IO

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: <linux-kernel@...>, <linux-mm@...>
Date: Thursday, September 27, 2007 - 6:21 pm

On Thu, 27 Sep 2007 18:13:25 -0400
Rik van Riel <riel@redhat.com> wrote:


OK.  Yes, it should help quite a bit in the common cases.


The thinking sounds good to me, but I'm looking for weirdo side-effects in
corner cases.  And I'm trying to work out what actual design we want to
have behind these various magic numbers and thresholds.


OK, that'll help a lot in this scenario.


Buggered if I know ;)

It may have the accidental effect that it opens a window in which some
may_enter_fs-capable process can get scheduled and do some writeout,
perhaps.


OK, thanks.  Perhaps a few words tacked onto the nr_io_pages definition
site would be the place to capture this.


yup, I didn't think of that.  Hopefully someone else will be in there
working on that zone too.  If this caller yields and defers to kswapd
then that's very likely.  Except we just took away the ability to do that..

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] kswapd should only wait on IO if there is IO, Rik van Riel, (Thu Sep 27, 5:08 pm)
Re: [PATCH] kswapd should only wait on IO if there is IO, Andrew Morton, (Thu Sep 27, 5:47 pm)
Re: [PATCH] kswapd should only wait on IO if there is IO, Andrew Morton, (Thu Sep 27, 6:21 pm)
Re: [PATCH] kswapd should only wait on IO if there is IO, Andrew Morton, (Thu Sep 27, 6:59 pm)