Re: Race between vmtruncate and mapped areas?

From: Andrew Morton (akpm@digeo.com)
Date: Thu May 15 2003 - 04:55:39 EST


Andrea Arcangeli <andrea@suse.de> wrote:
>
> > > - if (page->buffers)
> > > - goto preserve;
> > > + BUG_ON(page->buffers);
> >
> > I wonder if there is nothing else that can leave behind
> > buffers in this way.
>
> that's why I left the BUG_ON, if there's anything else I want to know,
> there shouldn't be anything else as the comment also suggest. I recall
> when we discussed this single check with Andrew and that was the only
> reason we left it AFIK.

yes, the test should no longer be needed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:56 EST