Date: Thu, 24 Feb 2011 09:22:56 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/sys mmap.2 src/sys/vm vm_mmap.c Message-ID: <201102240923.p1O9Nfrs011827@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pluknet 2011-02-24 09:22:56 UTC
FreeBSD src repository
Modified files:
lib/libc/sys mmap.2
sys/vm vm_mmap.c
Log:
SVN rev 218989 on 2011-02-24 09:22:56Z by pluknet
Remove sysctl vm.max_proc_mmap used to protect from KVA space exhaustion.
As it was pointed out by Alan Cox, that no longer serves its purpose with
the modern UMA allocator compared to the old one used in 4.x days.
The removal of sysctl eliminates max_proc_mmap type overflow leading to
the broken mmap(2) seen with large amount of physical memory on arches
with factually unbound KVA space (such as amd64). It was found that
slightly less than 256GB of physmem was enough to trigger the overflow.
Reviewed by: alc, kib
Approved by: avg (mentor)
MFC after: 2 months
Revision Changes Path
1.63 +0 -3 src/lib/libc/sys/mmap.2
1.251 +0 -39 src/sys/vm/vm_mmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102240923.p1O9Nfrs011827>
