Re: splice: move balance_dirty_pages_ratelimited() outside of splice actor

From: Peter Zijlstra
Date: Tue Jun 12 2007 - 08:06:40 EST

On Tue, 2007-06-12 at 13:31 +0200, Jens Axboe wrote:

> Would you prefer this change, then? I'd prefer keeping the current code,
> unless it's absolutely critical that we call
> balance_dirty_pages_ratelimited() for each and every page instead of eg
> every 16 pages here.

For that we should call:
balance_dirty_pages_ratelimited_nr(mapping, nr);

Which is ok, for small nr.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at