Re: objrmap and vmtruncate

From: Rik van Riel (riel@surriel.com)
Date: Fri Apr 04 2003 - 22:53:05 EST


On Fri, 4 Apr 2003, Andrew Morton wrote:

> I think that's right - the system call is very specialised and is
> targeted at solving problems which have been encountered in a small
> number of applications, but important ones.
>
> Right now, I do not feel that we are going to be able to come up with an
> acceptably simple VM which has both nonlinear mappings and objrmap.

This is ok if we make nonlinear VMAs automatically mlocked,
meaning they don't need reverse mapping at all.

If you need the space saving from nonlinear VMAs, you also
need to save the space of any kind of reverse mapping scheme,
even a mythical nonlinear object one (just think about the
minimum amount of data you need to store).

IMHO it'd be fair to limit nonlinear VMAs to the set of very
specialised applications that need it (Oracle, DB2, anything
else?) and impose some limitations on the functionality so
the main part of the VM stay sane.

Rik

-
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 : Mon Apr 07 2003 - 22:00:25 EST