NetBSD/sys/dev/scsipi
thorpej a180cee23b Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.
2002-03-08 20:48:27 +00:00
..
atapi_base.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
atapi_cd.h
atapi_disk.h
atapi_tape.h Various quirks for the ATAPI OnStream DI-30, mostly from the FreeBSD driver. 2001-12-01 00:03:45 +00:00
atapi_wdc.c IF we change the ATA modes, also reset the device, so that we can retry 2002-01-27 22:00:40 +00:00
atapiconf.c The FujiFilm USB storage drive doesn't have a flex geom page and 2001-12-22 13:29:50 +00:00
atapiconf.h Update my copyrigth. 2001-12-03 00:20:22 +00:00
cd_atapi.c -don't apply scsipi_strvis() twice, it tries to octal-print the string 2002-01-09 18:48:18 +00:00
cd_scsi.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
cd.c Support for dvd region code (RPC). 2001-12-09 22:56:10 +00:00
cdvar.h
ch.c add RCSIDs 2001-11-13 06:54:32 +00:00
files.scsipi - convert usage of "defopt" to "defflag" where the relevant option does 2001-11-28 10:21:10 +00:00
if_se.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
Makefile
scsi_all.h
scsi_base.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
scsi_cd.h
scsi_changer.h
scsi_ctron_ether.h
scsi_disk.h
scsi_message.h
scsi_scanner.h Remove duplicate struct scsipi_start_stop. 2001-11-19 17:18:08 +00:00
scsi_tape.h
scsiconf.c Add notag quirk for Seagate "ST11200N SUN1.05". 2002-01-23 18:13:08 +00:00
scsiconf.h
scsipi_all.h Remove duplicate struct scsipi_start_stop. 2001-11-19 17:18:08 +00:00
scsipi_base.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
scsipi_base.h
scsipi_cd.h
scsipi_debug.h
scsipi_disk.h Remove duplicate struct scsipi_start_stop. 2001-11-19 17:18:08 +00:00
scsipi_ioctl.c Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:29:30 +00:00
scsipi_verbose.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
scsipiconf.c Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:29:30 +00:00
scsipiconf.h Clean up attach of wd/atapibus: 2001-12-02 22:44:32 +00:00
sd_atapi.c -don't apply scsipi_strvis() twice, it tries to octal-print the string 2002-01-09 18:48:18 +00:00
sd_scsi.c Add ioctls to get (DIOCGCACHE) and set (DIOCSCACHE) cache enables 2002-01-09 04:12:11 +00:00
sd.c Add ioctls to get (DIOCGCACHE) and set (DIOCSCACHE) cache enables 2002-01-09 04:12:11 +00:00
sdvar.h Add ioctls to get (DIOCGCACHE) and set (DIOCSCACHE) cache enables 2002-01-09 04:12:11 +00:00
ses.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
ses.h
ss_mustek.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
ss_mustek.h
ss_scanjet.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
ss.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
ssvar.h
st_atapi.c add detach support for st. 2001-12-07 11:26:30 +00:00
st_scsi.c add detach support for st. 2001-12-07 11:26:30 +00:00
st.c For fixed block drive, for invalid sense error code, set info to 2002-01-12 20:30:11 +00:00
stvar.h add detach support for st. 2001-12-07 11:26:30 +00:00
su.c
uk.c Remove a pretty much useless autoconfiguration message. 2002-02-10 23:28:27 +00:00