<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/vm/vm_object.c, branch release/2.2.8</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F2.2.8</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F2.2.8'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1998-05-06T19:16:42Z</updated>
<entry>
<title>Small change in DDB function code to deal with new definition of TAILQ_PREV.</title>
<updated>1998-05-06T19:16:42Z</updated>
<author>
<name>Justin T. Gibbs</name>
<email>gibbs@FreeBSD.org</email>
</author>
<published>1998-05-06T19:16:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d43907184d69a98026c7b515ec9f6a7058e7f9b4'/>
<id>urn:sha1:d43907184d69a98026c7b515ec9f6a7058e7f9b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>1.  Fix the vm_page_zero_count accounting.  This should improve the</title>
<updated>1997-03-25T04:54:38Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1997-03-25T04:54:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ca3216c9ae746b03632ff0dae2ced4cb01b0665c'/>
<id>urn:sha1:ca3216c9ae746b03632ff0dae2ced4cb01b0665c</id>
<content type='text'>
    performance of the pre-zero loop.
2.  Fix madvise.  It had a myriad of bugs, including the potential
    for system crashes.
3.  Improve vm_map handling.  This is a result of work done by both
    &lt;alc@cs.rice.edu&gt; (Alan Cox) and me.  Earlier versions of the
    map handling code was very unintelligent about map coalescing.
4.  Support a working and closer to POSIX mlock.
5.  A couple of performance enhancements that came along for the ride,
    including changing certain bitfields to flags in vm_map.
6.  Bring procfs up to date with respect to the changes.

This code has been carefully extracted from -current.

Reviewed by:	David Greenman &lt;dg@freebsd.org&gt;
</content>
</entry>
<entry>
<title>Reviewed by:</title>
<updated>1996-09-28T03:33:40Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-09-28T03:33:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2f4a84696421b29a0460e4b38f82ae4a585b074'/>
<id>urn:sha1:a2f4a84696421b29a0460e4b38f82ae4a585b074</id>
<content type='text'>
Submitted by:
Obtained from:
</content>
</entry>
<entry>
<title>Attached vm ddb commands `show map', `show vmochk', `show object',</title>
<updated>1996-09-14T11:54:59Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-09-14T11:54:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c7c34a24a3f07aa94c633605632dc562e8ad01cb'/>
<id>urn:sha1:c7c34a24a3f07aa94c633605632dc562e8ad01cb</id>
<content type='text'>
`show vmopag', `show page' and `show pageq'.  Moved all vm ddb stuff
to the ends of the vm source files.

Changed printf() to db_printf(), `indent' to db_indent, and iprintf()
to db_iprintf() in ddb commands.  Moved db_indent and db_iprintf()
from vm to ddb.

vm_page.c:
Don't use __pure.  Staticized.

db_output.c:
Reduced page width from 80 to 79 to inhibit double spacing for long
lines (there are still some problems if words are printed across
column 79).
</content>
</entry>
<entry>
<title>Addition of page coloring support.  Various levels of coloring are afforded.</title>
<updated>1996-09-08T20:44:49Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-09-08T20:44:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5070c7f8c564187490e7a8d57906abe91b14026d'/>
<id>urn:sha1:5070c7f8c564187490e7a8d57906abe91b14026d</id>
<content type='text'>
The default level works with minimal overhead, but one can also enable
full, efficient use of a 512K cache.  (Parameters can be generated
to support arbitrary cache sizes also.)
</content>
</entry>
<entry>
<title>Even though this looks like it, this is not a complex code change.</title>
<updated>1996-08-21T21:56:23Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-08-21T21:56:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6476c0d204848007fc6da182e3935f01e267d77f'/>
<id>urn:sha1:6476c0d204848007fc6da182e3935f01e267d77f</id>
<content type='text'>
The interface into the "VMIO" system has changed to be more consistant
and robust.  Essentially, it is now no longer necessary to call vn_open
to get merged VM/Buffer cache operation, and exceptional conditions
such as merged operation of VBLK devices is simpler and more correct.

This code corrects a potentially large set of problems including the
problems with ktrace output and loaded systems, file create/deletes,
etc.

Most of the changes to NFS are cosmetic and name changes, eliminating
a layer of subroutine calls.  The direct calls to vput/vrele have
been re-instituted for better cross platform compatibility.

Reviewed by: davidg
</content>
</entry>
<entry>
<title>Backed out the recent changes/enhancements to the VM code.  The</title>
<updated>1996-07-30T03:08:57Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-07-30T03:08:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=67bf686897aa870f94c306e8e319f91fa33d49e1'/>
<id>urn:sha1:67bf686897aa870f94c306e8e319f91fa33d49e1</id>
<content type='text'>
problem with the 'shell scripts' was found, but there was a 'strange'
problem found with a 486 laptop that we could not find.  This commit
backs the code back to 25-jul, and will be re-entered after the snapshot
in smaller (more easily tested) chunks.
</content>
</entry>
<entry>
<title>This commit is meant to solve a couple of VM system problems or</title>
<updated>1996-07-27T03:24:10Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-07-27T03:24:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f4d35edf026a0b338ab55e486067850cc4ea612'/>
<id>urn:sha1:4f4d35edf026a0b338ab55e486067850cc4ea612</id>
<content type='text'>
performance issues.

	1) The pmap module has had too many inlines, and so the
	   object file is simply bigger than it needs to be.
	   Some common code is also merged into subroutines.
	2) Removal of some *evil* PHYS_TO_VM_PAGE macro calls.
	   Unfortunately, a few have needed to be added also.
	   The removal caused the need for more vm_page_lookups.
	   I added lookup hints to minimize the need for the
	   page table lookup operations.
	3) Removal of some bogus performance improvements, that
	   mostly made the code more complex (tracking individual
	   page table page updates unnecessarily).  Those improvements
	   actually hurt 386 processors perf (not that people who
	   worry about perf use 386 processors anymore :-)).
	4) Changed pv queue manipulations/structures to be TAILQ's.
	5) The pv queue code has had some performance problems since
	   day one.  Some significant scalability issues are resolved
	   by threading the pv entries from the pmap AND the physical
	   address instead of just the physical address.  This makes
	   certain pmap operations run much faster.  This does
	   not affect most micro-benchmarks, but should help loaded system
	   performance *significantly*.  DG helped and came up with most
	   of the solution for this one.
	6) Most if not all pmap bit operations follow the pattern:
		pmap_test_bit();
		pmap_clear_bit();
	   That made for twice the necessary pv list traversal.   The
	   pmap interface now supports only pmap_tc_bit type operations:
	   pmap_[test/clear]_modified, pmap_[test/clear]_referenced.
	   Additionally, the modified routine now takes a vm_page_t arg
	   instead of a phys address.  This eliminates a PHYS_TO_VM_PAGE
	   operation.
	7) Several rewrites of routines that contain redundant code to
	   use common routines, so that there is a greater likelihood of
	   keeping the cache footprint smaller.
</content>
</entry>
<entry>
<title>Various bugfixes/cleanups from me and others:</title>
<updated>1996-06-16T20:37:31Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-06-16T20:37:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b5b40fa62bb2242349871af92f3e5bd9d971f063'/>
<id>urn:sha1:b5b40fa62bb2242349871af92f3e5bd9d971f063</id>
<content type='text'>
1) Remove potential race conditions on waking up in vm_page_free_wakeup
   by making sure that it is at splvm().
2) Fix another bug in vm_map_simplify_entry.
3) Be more complete about converting from default to swap pager
   when an object grows to be large enough that there can be
   a problem with data structure allocation under low memory
   conditions.
4) Make some madvise code more efficient.
5) Added some comments.
</content>
</entry>
<entry>
<title>This commit is dual-purpose, to fix more of the pageout daemon</title>
<updated>1996-05-31T00:38:04Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-05-31T00:38:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f35329ac0fa23213eaa6b19f23e437b00fdead75'/>
<id>urn:sha1:f35329ac0fa23213eaa6b19f23e437b00fdead75</id>
<content type='text'>
queue corruption problems, and to apply Gary Palmer's code cleanups.
David Greenman helped with these problems also.  There is still
a hang problem using X in small memory machines.
</content>
</entry>
</feed>
