Re: Race between vmtruncate and mapped areas?

Andrew Morton
2003-05-15T09:55:39Z

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.