Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 06:25:59 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_bus.c
Message-ID:  <200908250626.n7P6QLAf001515@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2009-08-25 06:25:59 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  SVN rev 196529 on 2009-08-25 06:25:59Z by imp
  
  Rather than havnig enabled/disabled, implement a max queue depth.
  While usually not an issue, this firewalls bugs in the code that may
  run us out of memory.
  
  Fix a memory exhaustion in the case where devctl was disabled, but the
  link was bouncing.  The check to queue was in the wrong place.
  
  Implement a new sysctl hw.bus.devctl_queue to control the depth.  Make
  compatibility hacks for hw.bus.devctl_disable to ease transition.
  
  Reviewed by:    emaste@
  Approved by:    re@ (kib)
  MFC after:      asap
  
  Revision  Changes    Path
  1.228     +62 -13    src/sys/kern/subr_bus.c



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