From owner-cvs-all Tue Apr 30 11:44:40 2002 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 5C2DD37B404; Tue, 30 Apr 2002 11:44:33 -0700 (PDT) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3UIiXd24041; Tue, 30 Apr 2002 11:44:33 -0700 (PDT) (envelope-from dillon) Message-Id: <200204301844.g3UIiXd24041@freefall.freebsd.org> From: Matt Dillon Date: Tue, 30 Apr 2002 11:44:32 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_init.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 2002/04/30 11:44:32 PDT Modified files: sys/kern vfs_init.c Log: These are Alexander Kabaev's VFSops fixes (see the thread 'Found: module loading breakage'). The patch fixes serious issues with the VFS operations vector array which results in a crash when a filesystem module adding a new VOP is loaded into the kernel. Basically what was happening before was that the old operations vector was being freed and a new one allocated. The original MALLOC code tended to reuse the same address for the case and so the bug did not rear its ugly head until the new memory subsystem was emplaced. This patch replaces the temporary workaround Dave O'Brien comitted in 1.58. The patch is clean enough that I intend to MFC it to stable at some point. Submitted by: Alexander Kabaev MFC after: 1 week Revision Changes Path 1.59 +82 -21 src/sys/kern/vfs_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message