Re: [PATCH 03/03] Unmapped: Add guarantee code

Nick Piggin
2006-03-10T04:57:11Z

Magnus Damm wrote:
> Implement per-LRU guarantee through sysctl.
>
> This patch introduces the two new sysctl files "node_mapped_guar" and
> "node_unmapped_guar". Each file contains one percentage per node and tells
> the system how many percentage of all pages that should be kept in RAM as
> unmapped or mapped pages.
>

The whole Linux VM philosophy until now has been to get away from stuff
like this.

If your app is really that specialised then maybe it can use mlock. If
not, maybe the VM is currently broken.

You do have a real-world workload that is significantly improved by this,
right?

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com