NetBSD/sys/arch/i386
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
..
bioscall Rebuild after my re-arrangement of GDT entries, since this code depends on 2002-01-23 15:05:33 +00:00
compile
conf The "gif*" tunnelling interface does everything ipip does. 2002-03-04 13:24:06 +00:00
eisa add RCSID 2001-11-15 07:03:28 +00:00
gdbscripts Rename "stack" to "stacktrace" and have "stack" call "stacktrace $ebp $eip" 2000-06-08 14:42:11 +00:00
i386 Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
include Use "#define<tab>". 2002-02-28 03:17:23 +00:00
isa Reduce the massive code duplication regarding joy(4). Split it into 2002-02-02 18:37:38 +00:00
mca Fix so these files build with options DEBUG enabled. 2001-12-04 20:00:15 +00:00
pci Default to telling the MI PCI code that rd/line, rd/mult, and wr/inv 2002-02-28 21:48:05 +00:00
pnpbios Add a bunch of PNP ID strings that are apparantly for the ESS chips. 2002-02-15 22:06:50 +00:00
stand Remove some globals defined in libsa. 2002-02-24 01:51:04 +00:00
Makefile Remove gratuitous setting of SYSDIR; 2001-04-03 17:12:23 +00:00