Re: replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count

From: Andi Kleen
Date: Sun Mar 28 2004 - 14:49:52 EST


David Mosberger <davidm@xxxxxxxxxxxxxxxxx> writes:
>
> int sysctl_overcommit_memory = 0; /* default is heuristic overcommit */
> int sysctl_overcommit_ratio = 50; /* default is 50% */
> +int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT;

I think it would be better to scale the default by available low mem size.

-Andi
-
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/