Re: [RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

Peter Zijlstra
2007-03-07T18:12:36Z

On Wed, 2007-03-07 at 10:00 -0800, Linus Torvalds wrote:
>
> On Wed, 7 Mar 2007, Peter Zijlstra wrote:
> >
> > I'm not at all happy with this, but plain disallowing remap_file_pages on bdis
> > without BDI_CAP_NO_WRITEBACK seems to offend some people, hence restrict it to
> > root only.
>
> I don't think that's a viable approach. Nonlinear mappings would normally
> be used by databases, and you don't want to limit databases to be run by
> root only.

It was claimed that they use it on tmpfs only, not on a 'real'
filesystem.