Re: [PATCH][5/?] count writeback pages in nr_scanned

From: Andrea Arcangeli
Date: Thu Jan 06 2005 - 00:26:37 EST


On Thu, Jan 06, 2005 at 04:19:36PM +1100, Nick Piggin wrote:
> This is practically what blk_congestion_wait does when the queue
> isn't congested though, isn't it?

The fundamental difference that makes it reliable is that:

1) only the I/O we're throttling against will be considered for the
wakeup event, which means only clearing PG_writeback will be
considered eligible for wakeup
Currently _all_ unrelated write I/O was considered eligible
for wakeup events and that could cause spurious oom kills.
2) we won't need unreliable anti-deadlock timeouts anymore
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/