NetBSD/sys/dev/raidframe
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
..
Makefile
raidframeio.h
raidframevar.h
rf_acctrace.c
rf_acctrace.h
rf_alloclist.c Cleanup some whitespace that indent got wrong a long time ago. 2001-11-20 02:37:29 +00:00
rf_alloclist.h
rf_archs.h Let's not bother building a number of infrequently used RAID types. 2002-01-19 02:50:54 +00:00
rf_aselect.c
rf_aselect.h
rf_callback.c
rf_callback.h
rf_chaindecluster.c
rf_chaindecluster.h
rf_copyback.c
rf_copyback.h
rf_cvscan.c
rf_cvscan.h
rf_dag.h
rf_dagdegrd.c
rf_dagdegrd.h
rf_dagdegwr.c
rf_dagdegwr.h
rf_dagffrd.c
rf_dagffrd.h
rf_dagffwr.c
rf_dagffwr.h
rf_dagflags.h
rf_dagfuncs.c
rf_dagfuncs.h
rf_dagutils.c Correct misspellings of "failed". 2002-03-04 01:38:31 +00:00
rf_dagutils.h
rf_debugMem.c
rf_debugMem.h
rf_debugprint.c
rf_debugprint.h
rf_decluster.c
rf_decluster.h
rf_declusterPQ.c
rf_declusterPQ.h
rf_desc.h
rf_diskqueue.c
rf_diskqueue.h
rf_disks.c
rf_disks.h
rf_driver.c #if 0 rf_SetReconfiguredMode() since it is unused now, but may be 2002-01-07 01:58:03 +00:00
rf_driver.h #if 0 rf_SetReconfiguredMode() since it is unused now, but may be 2002-01-07 01:58:03 +00:00
rf_engine.c
rf_engine.h
rf_etimer.h
rf_evenodd_dagfuncs.c
rf_evenodd_dagfuncs.h
rf_evenodd_dags.c
rf_evenodd_dags.h
rf_evenodd.c
rf_evenodd.h
rf_fifo.c
rf_fifo.h
rf_freelist.h
rf_general.h
rf_geniq.c
rf_hist.h
rf_interdecluster.c
rf_interdecluster.h
rf_invertq.c
rf_invertq.h
rf_kintf.h
rf_layout.c
rf_layout.h
rf_map.c Revert previous. Need to be more careful with what gets chopped out. 2002-01-07 05:30:53 +00:00
rf_map.h
rf_mcpair.c
rf_mcpair.h
rf_memchunk.c
rf_memchunk.h
rf_netbsd.h
rf_netbsdkintf.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
rf_nwayxor.c
rf_nwayxor.h
rf_options.c
rf_options.h
rf_optnames.h
rf_paritylog.c
rf_paritylog.h
rf_paritylogDiskMgr.c
rf_paritylogDiskMgr.h
rf_paritylogging.c
rf_paritylogging.h
rf_parityloggingdags.c
rf_parityloggingdags.h
rf_parityscan.c
rf_parityscan.h
rf_pq.c
rf_pq.h
rf_pqdeg.c
rf_pqdeg.h
rf_pqdegdags.c
rf_pqdegdags.h
rf_psstatus.c
rf_psstatus.h
rf_raid0.c
rf_raid0.h
rf_raid1.c
rf_raid1.h
rf_raid4.c
rf_raid4.h
rf_raid5_rotatedspare.c
rf_raid5_rotatedspare.h
rf_raid5.c
rf_raid5.h
rf_raid.h
rf_reconbuffer.c Move a bunch of debugging stuff to be only used if DEBUG is turned on. 2002-01-09 03:10:19 +00:00
rf_reconbuffer.h
rf_reconmap.c
rf_reconmap.h
rf_reconstruct.c Move a bunch of debugging stuff to be only used if DEBUG is turned on. 2002-01-09 03:10:19 +00:00
rf_reconstruct.h
rf_reconutil.c
rf_reconutil.h
rf_revent.c
rf_revent.h
rf_shutdown.c
rf_shutdown.h
rf_sstf.c
rf_sstf.h
rf_states.c
rf_states.h
rf_stripelocks.c Bah.. Not sure how those ";"'s got missed :-( 2002-01-19 22:20:48 +00:00
rf_stripelocks.h
rf_strutils.c
rf_threadstuff.c
rf_threadstuff.h
rf_utils.c
rf_utils.h