From owner-cvs-all Wed Dec 13 2: 0:46 2000 From owner-cvs-all@FreeBSD.ORG Wed Dec 13 02:00:43 2000 Return-Path: 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 6B67E37B400; Wed, 13 Dec 2000 02:00:43 -0800 (PST) Received: (from tanimura@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBDA0hC33811; Wed, 13 Dec 2000 02:00:43 -0800 (PST) (envelope-from tanimura) Message-Id: <200012131000.eBDA0hC33811@freefall.freebsd.org> From: Seigo Tanimura Date: Wed, 13 Dec 2000 02:00:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG tanimura 2000/12/13 02:00:43 PST Modified files: sys/i386/i386 machdep.c Log: - If swap metadata does not fit into the KVM, reduce the number of struct swblock entries by dividing the number of the entries by 2 until the swap metadata fits. - Reject swapon(2) upon failure of swap_zone allocation. This is just a temporary fix. Better solutions include: (suggested by: dillon) o reserving swap in SWAP_META_PAGES chunks, and o swapping the swblock structures themselves. Reviewed by: alfred, dillon Revision Changes Path 1.425 +16 -5 src/sys/i386/i386/machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message