Re: [PATCH 1/3] mm: tracking shared dirty pages

From: Hugh Dickins
Date: Tue May 30 2006 - 13:24:42 EST


On Tue, 30 May 2006, Christoph Lameter wrote:
> On Tue, 30 May 2006, David Howells wrote:
>
> > What's wrong with my suggestion anyway?
>
> Adds yet another method with functionality that for the most part
> is the same as set_page_dirty().

Your original question, whether they could be combined, was a good one;
and I hoped you'd be right. But I agree with David, they cannot, unless
we sacrifice the guarantee that one or the other is there to give. It's
much like the relationship between ->prepare_write and ->commit_write.

Hugh
-
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/