Re: [PATCH -mm] vmscan: make mapped executable pages the first classcitizen

From: Rik van Riel
Date: Fri May 08 2009 - 18:23:02 EST


Alan Cox wrote:
The patch seems reasonable but the changelog and the (non-existent)
design documentation could do with a touch-up.

Is it right that I as a user can do things like mmap my database
PROT_EXEC to get better database numbers by making other
stuff swap first ?

Yes, but only if your SELinux policy allows you to
mmap something that's both executable and writable
at the same time.

You seem to be giving everyone a "nice my process up" hack.

A user who wants to slow the system down has always
been able to do so.

I am not convinced that the potential disadvantages
of giving mapped referenced executable file pages an
extra round trip on the active file list outweighs
the advantages of doing so for normal workloads.

--
All rights reversed.
--
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/