Go to file
bouyer 80620a83a7 Improve handling of memory shortage, to fix problems like:
sd3(mpt0:0:1:0): unable to allocate scsipi_xfer
sd3: not queued, error 12
Havard Eidnes's analysis of this problem is that the scsipi_xfer pool is
competing for resources with other pools, including the the inode and vnode
pools which can grow quite large.

*_scsipi_cmd(): don't biodone the buffer if scsipi_make_xs() fails, let the
   caller deal with the problem
start function of block devices drivers: dequeue the buffer after the
   scsipi_command() call. If scsipi_command() fails with ENOMEM don't dequeue
   the buffer, and schedule a callout to call the start function after
   some delay.
scsipi_init(): prime the scsipi_xfer_pool with one page. This ensure that
   there is always some scsipi_xfer to play with. If scsipi_command() fails
   because of pool_get(), we're sure there will be resources available later,
   when the pending commands have completed.

Reviewed by Jason Thorpe and Havard Eidnes.
Todo: remove the "unable to allocate scsipi_xfer" and "not queued, error %d"
printfs, but I choose to keep them for now, to help make sure the code does
what it should.
2004-08-27 20:37:28 +00:00
bin Bump date for laddr. 2004-08-23 17:36:19 +00:00
contrib/sys Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4) 2004-07-28 08:57:40 +00:00
crypto Disable the "may kill you" message, because: 2004-08-06 13:57:05 +00:00
dist revert the last all changes related to iconv(3). 2004-08-02 13:38:21 +00:00
distrib Get rid of some superfluous "No Ns" calls before punctuation. 2004-08-27 16:53:13 +00:00
doc Update Nudleman's email address. 2004-08-26 01:37:58 +00:00
etc add "drvctl" template 2004-08-27 17:50:57 +00:00
games - sleep a little in autobot mode so that we can see what is happening. 2004-08-27 09:07:08 +00:00
gnu sparc64 configuration for GCC "crtstuff". 2004-08-26 20:33:47 +00:00
include Typo... 2004-08-19 23:10:40 +00:00
lib Bump date for removal of net.key.random_int. 2004-08-27 14:35:11 +00:00
libexec Check the type of symbols; if it's a Thumb function, then set the Thumb 2004-08-21 11:14:07 +00:00
regress support for bufferevents; fix signal race; faster timeout insertion; 2004-08-07 21:09:47 +00:00
rescue Complete removal of "liboverride" to fix build problems. 2004-08-20 11:01:03 +00:00
sbin Bump date for removal of net.key.random_int. 2004-08-27 14:35:11 +00:00
share Remove a superfluous .Pp. 2004-08-26 14:25:55 +00:00
sys Improve handling of memory shortage, to fix problems like: 2004-08-27 20:37:28 +00:00
tools Add code to extract make vars for GCC crtstuff. 2004-08-24 20:24:43 +00:00
usr.bin in "summary" output (-w), 2004-08-26 13:29:05 +00:00
usr.sbin Refer to the pkgsrc/sysutils/ipw-firmware package. 2004-08-27 06:01:28 +00:00
x11 Install the following as executable scripts: 2004-08-19 01:30:33 +00:00
BUILDING regen (Document -h. From Karsten Kruse in PR 25974. 2004-06-25 15:04:20 +00:00
Makefile The do-lib-libdes BUILDTARGET is unnecessary now we have the DEPLIBS 2004-07-30 07:05:11 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING postinstall currently does not migrate /usr/X11R6/lib/X11/* -> /etc/X11/* 2004-08-15 16:02:59 +00:00
build.sh Remove trailing / in pathname. 2004-08-17 14:00:30 +00:00