X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmemory.c;h=9abc6008544baae37d9d88a4416a4ec81e966132;hb=4cf808eb443ead42777a0230b73aec0cee7fb298;hp=2bee1f21aa8aa92294ef481778b3c370063413fb;hpb=59ed2f59e4ea6a32f9591e378da7935f713a7000;p=linux-2.6 diff --git a/mm/memory.c b/mm/memory.c index 2bee1f21aa..9abc600854 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -82,6 +82,16 @@ EXPORT_SYMBOL(num_physpages); EXPORT_SYMBOL(high_memory); EXPORT_SYMBOL(vmalloc_earlyreserve); +int randomize_va_space __read_mostly = 1; + +static int __init disable_randmaps(char *s) +{ + randomize_va_space = 0; + return 0; +} +__setup("norandmaps", disable_randmaps); + + /* * If a p?d_bad entry is found while walking page tables, report * the error, before resetting entry to p?d_none. Usually (but