cvs commit: src/sys/cam cam_xpt.c

Tai-hwa Liang avatar at FreeBSD.org
Fri Jun 24 08:09:08 GMT 2005


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


More information about the cvs-src mailing list