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

From: Linus Torvalds
Date: Wed Mar 07 2007 - 13:02:48 EST




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.

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