Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2005 08:09:06 +0000 (UTC)
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/cam cam_xpt.c
Message-ID:  <200506240809.j5O897XJ023469@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506240809.j5O897XJ023469>