From owner-cvs-src@FreeBSD.ORG Mon Oct 13 23:22:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB02816A4B3; Mon, 13 Oct 2003 23:22:08 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EDBD43FBF; Mon, 13 Oct 2003 23:22:08 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9E6M8XJ017714; Mon, 13 Oct 2003 23:22:08 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9E6M7cp017713; Mon, 13 Oct 2003 23:22:07 -0700 (PDT) (envelope-from imp) Message-Id: <200310140622.h9E6M7cp017713@repoman.freebsd.org> From: Warner Losh Date: Mon, 13 Oct 2003 23:22:07 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_bus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 06:22:08 -0000 imp 2003/10/13 23:22:07 PDT FreeBSD src repository Modified files: sys/kern subr_bus.c Log: With DIAGNOSTICS, sometimes we get weird crashes when some driver accesses softc after it is freed. Use a different malloc type for softc than the rest of the bus code to make it more clear when these things happen that it is the driver that's at fault, not the bus code. Suggested by: sam and/or phk (I think) Revision Changes Path 1.132 +4 -3 src/sys/kern/subr_bus.c