From owner-cvs-all Tue Oct 30 19: 6:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7CA3537B401; Tue, 30 Oct 2001 19:06:33 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9V36X057254; Tue, 30 Oct 2001 19:06:33 -0800 (PST) (envelope-from dillon) Message-Id: <200110310306.f9V36X057254@freefall.freebsd.org> From: Matt Dillon Date: Tue, 30 Oct 2001 19:06:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_map.h src/sys/i386/i386 pmap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2001/10/30 19:06:33 PST Modified files: sys/vm vm_map.h vm_map.c sys/i386/i386 pmap.c Log: Don't let pmap_object_init_pt() exhaust all available free pages (allocating pv entries w/ zalloci) when called in a loop due to an madvise(). It is possible to completely exhaust the free page list and cause a system panic when an expected allocation fails. Revision Changes Path 1.292 +17 -1 src/sys/i386/i386/pmap.c 1.211 +1 -1 src/sys/vm/vm_map.c 1.68 +2 -1 src/sys/vm/vm_map.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message