From owner-cvs-src-old@FreeBSD.ORG Thu Feb 24 09:23:41 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92FB9106566B for ; Thu, 24 Feb 2011 09:23:41 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 811AB8FC1E for ; Thu, 24 Feb 2011 09:23:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p1O9NfiM011828 for ; Thu, 24 Feb 2011 09:23:41 GMT (envelope-from pluknet@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1O9Nfrs011827 for cvs-src-old@freebsd.org; Thu, 24 Feb 2011 09:23:41 GMT (envelope-from pluknet@repoman.freebsd.org) Message-Id: <201102240923.p1O9Nfrs011827@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to pluknet@repoman.freebsd.org using -f From: Sergey Kandaurov Date: Thu, 24 Feb 2011 09:22:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sys mmap.2 src/sys/vm vm_mmap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 09:23:41 -0000 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