Go to file
thorpej 1779f8f71b Page scanner improvements, behavior is actually a bit more like
Mach VM's now.  Specific changes:
- Pages now need not have all of their mappings removed before being
  put on the inactive list.  They only need to have the "referenced"
  attribute cleared.  This makes putting pages onto the inactive list
  much more efficient.  In order to eliminate redundant clearings of
  "refrenced", callers of uvm_pagedeactivate() must now do this
  themselves.
- When checking the "modified" attribute for a page (for clearing
  PG_CLEAN), make sure to only do it if PG_CLEAN is currently set on
  the page (saves a potentially expensive pmap operation).
- When scanning the inactive list, if a page is referenced, reactivate
  it (this part was actually added in uvm_pdaemon.c,v 1.27).  This
  now works properly now that pages on the inactive list are allowed to
  have mappings.
- When scanning the inactive list and considering a page for freeing,
  remove all mappings, and then check the "modified" attribute if the
  page is marked PG_CLEAN.
- When scanning the active list, if the page was referenced since its
  last sweep by the scanner, don't deactivate it.  (This part was
  actually added in uvm_pdaemon.c,v 1.28.)

These changes greatly improve interactive performance during
moderate to high memory and I/O load.
2001-01-28 23:30:42 +00:00
bin avoid C sequence point issues warned about by development version of gcc. 2001-01-16 02:41:17 +00:00
crypto have safeputchar() for tcpdump/packet-isakmp.c. reported by bernd, 2001-01-28 17:17:56 +00:00
dist separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind. 2001-01-27 08:09:42 +00:00
distrib Fix one misplaced file. 2001-01-28 07:55:44 +00:00
etc align $TTL with others 2001-01-28 06:59:31 +00:00
games play(): use snprintf() instead of hard-to-parse strncpy() calls 2001-01-25 20:41:41 +00:00
gnu Remove -Dunix, s/-Dsh3/-D__sh3__. 2001-01-22 08:16:24 +00:00
include have comment about strange use of _B 2001-01-21 10:44:15 +00:00
lib Include string.h for mem*() prototypes. 2001-01-27 05:40:18 +00:00
libexec comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
regress 40B: just symlink in and out, don't bother copying it 2001-01-19 12:34:45 +00:00
sbin Sprinkle some const. 2001-01-28 00:59:26 +00:00
share Make it simpler by using FILES. 2001-01-28 18:45:59 +00:00
sys Page scanner improvements, behavior is actually a bit more like 2001-01-28 23:30:42 +00:00
usr.bin Examine input files and set the openinfo hint accordingly to number of 2001-01-28 20:01:42 +00:00
usr.sbin Cleanup last set of cleanups so this compiles on systems without 2001-01-28 22:22:25 +00:00
Makefile if building w/o a DESTDIR, grab the system make files from the source 2000-10-07 17:18:17 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING note that undefined __assert13 refs are fixed by rebuilding lib/libc 2001-01-26 01:31:38 +00:00