Re: Race between vmtruncate and mapped areas?

Andrew Morton (akpm@digeo.com)
Thu, 15 May 2003 02:55:39 -0700


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/