Date: Sat, 5 Sep 2009 08:03:29 +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: <200909050803.n8583ml5032303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2009-09-05 08:03:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/kern subr_bus.c
Log:
SVN rev 196855 on 2009-09-05 08:03:29Z by imp
MFC r196529:
Rather than having 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.225.2.4 +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?200909050803.n8583ml5032303>
