Date: Thu, 16 Sep 1999 21:56:41 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vmmeter.h src/sys/vm vm_glue.c vm_page.c vm_page.h vm_pageout.c vm_meter.c Message-ID: <199909170456.VAA50988@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 1999/09/16 21:56:40 PDT Modified files: sys/sys vmmeter.h sys/vm vm_glue.c vm_page.c vm_page.h vm_pageout.c vm_meter.c Log: Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> Replace various VM related page count calculations strewn over the VM code with inlines to aid in readability and to reduce fragility in the code where modules depend on the same test being performed to properly sleep and wakeup. Split out a portion of the page deactivation code into an inline in vm_page.c to support vm_page_dontneed(). add vm_page_dontneed(), which handles the madvise MADV_DONTNEED feature in a related commit coming up for vm_map.c/vm_object.c. This code prevents degenerate cases where an essentially active page may be rotated through a subset of the paging lists, resulting in premature disposal. Revision Changes Path 1.20 +87 -1 src/sys/sys/vmmeter.h 1.90 +4 -13 src/sys/vm/vm_glue.c 1.143 +86 -12 src/sys/vm/vm_page.c 1.72 +4 -2 src/sys/vm/vm_page.h 1.148 +96 -93 src/sys/vm/vm_pageout.c 1.33 +3 -1 src/sys/vm/vm_meter.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909170456.VAA50988>