Re: Race in pagevec_strip?

From: Christoph Lameter
Date: Thu Mar 16 2006 - 19:47:35 EST


On Thu, 16 Mar 2006, Hugh Dickins wrote:

> On Thu, 16 Mar 2006, Hugh Dickins wrote:
> >
> > I can't see what protects the default drop_buffers case against this,
> > so can't argue that it's an XFS problem.
>
> But I should add, I don't see what might be racing with what on the
> same page, to cause the problem in practice.

The page is on the inactive list at the time pagevec_strip is called
(see refill_inactive_zone). So kswapd could get to it. Could filesystems
get to the page via the mapping?

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