From owner-cvs-sys Sat Jun 15 05:29:27 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22852 for cvs-sys-outgoing; Sat, 15 Jun 1996 05:29:27 -0700 (PDT) Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22838; Sat, 15 Jun 1996 05:29:21 -0700 (PDT) Date: Sat, 15 Jun 1996 05:29:21 -0700 (PDT) From: David Greenman Message-Id: <199606151229.FAA22838@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/06/15 05:29:21 Branch: sys/vm RELENG_2_1_0 Modified: sys/vm vm_map.c Log: Protect map entry allocations with splimp. This is necessary since malloc can/will allocate map entries at interrupt time. This is similar to a (splvm) change that was made in the main branch, but much simpler. The code in the main branch is broken (the thresholds are of such that freed map entries will accumulate on the non-kernel pool)...so the fix was re-implemented with just the spl protection and minor algorithmic simplification. Revision Changes Path 1.22.4.3 +11 -15 src/sys/vm/vm_map.c