Re: [PATCH 2/3] mm: Implement writeback livelock avoidance usingpage tagging

From: Andrew Morton
Date: Fri Feb 12 2010 - 14:42:53 EST


On Fri, 12 Feb 2010 00:06:23 +0100
Jan Kara <jack@xxxxxxx> wrote:

> The idea is simple: Tag all pages that should be written back
> with a special tag (TOWRITE) in the radix tree. This can be done
> rather quickly and thus livelocks should not happen in practice.
> Then we start doing the hard work of locking pages and sending
> them to disk only for those pages that have TOWRITE tag set.

Adding a second pass across all the pages sounds expensive?
--
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/