This is what /proc/sys/vm/swappiness does in 2.5, actually. It defines
the kernel's preference for pagecache over mapped memory.
Setting it to 100 (percent) makes it treat both types of memory equally.
Setting it to zero makes the kernel very much prefer to reclaim plain
pagecache rather than mapped-into-pagetables memory.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/