NetBSD/sys/arch/mvme68k
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
..
compile
conf Separate out devices common to many Motorola mvme boards (68k, 88k and ppc) 2002-02-12 20:38:09 +00:00
dev Allow MD code to provide functions for reading/writing NVRAM/RTC 2002-02-23 17:18:54 +00:00
docs Move the VMEbus RAM `howto' into the docs directory. 2002-01-12 19:29:49 +00:00
include Use "#define<tab>". 2002-02-28 03:17:23 +00:00
mvme68k Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
stand use ${INSTALL_FILE} as appropriate 2002-02-09 09:35:59 +00:00
Makefile