• Andrew Morton's avatar
    [PATCH] Replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count · 56d93842
    Andrew Morton authored
    From: David Mosberger <davidm@napali.hpl.hp.com>
    
    Below is a warmed up version of a patch originally done by Werner Almesberger
    (see http://tinyurl.com/25zra) to replace the MAX_MAP_COUNT limit with a
    sysctl variable.  I thought this had gone into the tree a long time ago but
    alas it has not and as luck would have it, the hard limit bit someone today
    once again with a large app on a large machine.
    
    Here is a small test app:
    56d93842
sysctl.c 48.8 KB