From owner-cvs-all@FreeBSD.ORG Fri Jun 24 08:09:07 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9F6616A41C; Fri, 24 Jun 2005 08:09:07 +0000 (GMT) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B002243D1D; Fri, 24 Jun 2005 08:09:07 +0000 (GMT) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5O89790023470; Fri, 24 Jun 2005 08:09:07 GMT (envelope-from avatar@repoman.freebsd.org) Received: (from avatar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5O897XJ023469; Fri, 24 Jun 2005 08:09:07 GMT (envelope-from avatar) Message-Id: <200506240809.j5O897XJ023469@repoman.freebsd.org> From: Tai-hwa Liang Date: Fri, 24 Jun 2005 08:09:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/cam cam_xpt.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 08:09:08 -0000 avatar 2005-06-24 08:09:06 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c Log: Fixing a memory leak in xpt_release_device(), which can be quickly (depends on how many memory you have) observed through "tar -tvf /dev/sa0." Without this patch, RELENG_5 and HEAD panics with something like: kmem_malloc(4096): kmem_map too small: 42258432 total allocated RELENG_4 doesn't panic but spews following errors: camq_init: - cannot malloc array! Reviewed by: gibbs, scottl Approved by: re (scottl) MFC after: 3 days Revision Changes Path 1.154 +2 -0 src/sys/cam/cam_xpt.c