<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/vm/vm_param.h, branch release/4.6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC:</title>
<updated>2001-11-03T01:41:10+00:00</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2001-11-03T01:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e221d8d8d2cbbea271820622432a3deed3adf6b'/>
<id>5e221d8d8d2cbbea271820622432a3deed3adf6b</id>
<content type='text'>
- Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader
  tunable.
- Change TUNABLE_*_FETCH to have a return value of 0 if the variable
  was not found or successfully converted and true otherwise.
- Use vm_offset_t instead of caddr_t to fix a warning and remove
  two casts in kern_exec.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader
  tunable.
- Change TUNABLE_*_FETCH to have a return value of 0 if the variable
  was not found or successfully converted and true otherwise.
- Use vm_offset_t instead of caddr_t to fix a warning and remove
  two casts in kern_exec.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.  "KERNEL"</title>
<updated>1999-12-29T05:07:58+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-12-29T05:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c447342094276b4d604449bb776063c7b88c4992'/>
<id>c447342094276b4d604449bb776063c7b88c4992</id>
<content type='text'>
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove (1) "extern" declarations for variables that were previously</title>
<updated>1999-06-22T07:18:20+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-06-22T07:18:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9c89c228fe21b36b1b89ed6ce60b0707992330b1'/>
<id>9c89c228fe21b36b1b89ed6ce60b0707992330b1</id>
<content type='text'>
made "static" and (2) initialized but unused variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
made "static" and (2) initialized but unused variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Set cnt.v_page_size to PAGE_SIZE rather than DEFAULT_PAGE_SIZE so that</title>
<updated>1999-06-20T04:55:29+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-06-20T04:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c2077034654a87e5a0517430c4d0c7d10721e484'/>
<id>c2077034654a87e5a0517430c4d0c7d10721e484</id>
<content type='text'>
"vmstat -s" reports the correct value on the Alpha.

Submitted by:	Hidetoshi Shimokawa &lt;simokawa@sat.t.u-tokyo.ac.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"vmstat -s" reports the correct value on the Alpha.

Submitted by:	Hidetoshi Shimokawa &lt;simokawa@sat.t.u-tokyo.ac.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>There is a comment in vm_param.h which doesn't belong to the</title>
<updated>1998-07-22T06:21:55+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1998-07-22T06:21:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=db7ac2451b5ad1ea0a6bfe1e857a59aa7b0c947d'/>
<id>db7ac2451b5ad1ea0a6bfe1e857a59aa7b0c947d</id>
<content type='text'>
code still left in there.  The macros it describes disapeared some-
time since 4.4BSD lite.

PR:		7246
Reviewed by:	phk
Submitted by:	Stefan Eggers &lt;seggers@semyam.dinoco.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
code still left in there.  The macros it describes disapeared some-
time since 4.4BSD lite.

PR:		7246
Reviewed by:	phk
Submitted by:	Stefan Eggers &lt;seggers@semyam.dinoco.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not</title>
<updated>1997-02-22T09:48:43+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-02-22T09:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6875d25465631b7563f1b90e6b05e2640dc81f4e'/>
<id>6875d25465631b7563f1b90e6b05e2640dc81f4e</id>
<content type='text'>
ready for it yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ready for it yet.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the long-awaited change from $Id$ to $FreeBSD$</title>
<updated>1997-01-14T07:20:47+00:00</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1997-01-14T07:20:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1130b656e5fe4c2d1ba299e024d1b40eaeebd380'/>
<id>1130b656e5fe4c2d1ba299e024d1b40eaeebd380</id>
<content type='text'>
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
</pre>
</div>
</content>
</entry>
<entry>
<title>This commit does a couple of things:</title>
<updated>1996-06-26T05:39:27+00:00</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-06-26T05:39:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=38efa82b23764acb0ee0ae9ecbf70679aa8acc53'/>
<id>38efa82b23764acb0ee0ae9ecbf70679aa8acc53</id>
<content type='text'>
	Re-enables the RSS limiting, and the routine is now tail-recursive,
	making it much more safe (eliminates the possiblity of kernel stack
	overflow.) Also, the RSS limiting is a little more intelligent about
	finding the likely objects that are pushing the process over the limit.

	Added some sysctls that help with VM system tuning.

New sysctl features:
	1)	Enable/disable lru pageout algorithm.
		vm.pageout_algorithm = 0, default algorithm that works
			well, especially using X windows and heavy
			memory loading.  Can have adverse effects,
			sometimes slowing down program loading.

		vm.pageout_algorithm = 1, close to true LRU.  Works much
			better than clock, etc.  Does not work as well as
			the default algorithm in general.  Certain memory
			"malloc" type benchmarks work a little better with
			this setting.

		Please give me feedback on the performance results
		associated with these.

	2)	Enable/disable swapping.
		vm.swapping_enabled = 1, default.

		vm.swapping_enabled = 0, useful for cases where swapping
			degrades performance.

		The config option "NO_SWAPPING" is still operative, and
		takes precedence over the sysctl.  If "NO_SWAPPING" is
		specified, the sysctl still exists, but "vm.swapping_enabled"
		is hard-wired to "0".

Each of these can be changed "on the fly."
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Re-enables the RSS limiting, and the routine is now tail-recursive,
	making it much more safe (eliminates the possiblity of kernel stack
	overflow.) Also, the RSS limiting is a little more intelligent about
	finding the likely objects that are pushing the process over the limit.

	Added some sysctls that help with VM system tuning.

New sysctl features:
	1)	Enable/disable lru pageout algorithm.
		vm.pageout_algorithm = 0, default algorithm that works
			well, especially using X windows and heavy
			memory loading.  Can have adverse effects,
			sometimes slowing down program loading.

		vm.pageout_algorithm = 1, close to true LRU.  Works much
			better than clock, etc.  Does not work as well as
			the default algorithm in general.  Certain memory
			"malloc" type benchmarks work a little better with
			this setting.

		Please give me feedback on the performance results
		associated with these.

	2)	Enable/disable swapping.
		vm.swapping_enabled = 1, default.

		vm.swapping_enabled = 0, useful for cases where swapping
			degrades performance.

		The config option "NO_SWAPPING" is still operative, and
		takes precedence over the sysctl.  If "NO_SWAPPING" is
		specified, the sysctl still exists, but "vm.swapping_enabled"
		is hard-wired to "0".

Each of these can be changed "on the fly."
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved the declaration of boolean_t from &lt;vm/vm_param.h&gt; to</title>
<updated>1995-12-10T02:34:29+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-12-10T02:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5ad9d5a70f2f07f9e5ae7a1aa7e7a52d2838839b'/>
<id>5ad9d5a70f2f07f9e5ae7a1aa7e7a52d2838839b</id>
<content type='text'>
&lt;sys/types.h&gt; (if KERNEL is defined).  This allows removing bogus
dependencies on vm stuff in several places (e.g., ddb) and stops
&lt;vm_param.h&gt; from depending on &lt;vm_param.h&gt;

Added declaration of boolean_t to &lt;vm/vm.h&gt; (if KERNEL is not
defined).  It never belonged in &lt;vm/vm_param.h&gt;.  Unfortunately,
it is required for some vm headers that are included by applications.

Deleted declarations of TRUE and FALSE from &lt;vm/vm_param.h&gt;.  They
are defined in &lt;sys/param.h&gt; if KERNEL is defined and we'll soon
find out if any applications depend on them being defined in a vm
header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;sys/types.h&gt; (if KERNEL is defined).  This allows removing bogus
dependencies on vm stuff in several places (e.g., ddb) and stops
&lt;vm_param.h&gt; from depending on &lt;vm_param.h&gt;

Added declaration of boolean_t to &lt;vm/vm.h&gt; (if KERNEL is not
defined).  It never belonged in &lt;vm/vm_param.h&gt;.  Unfortunately,
it is required for some vm headers that are included by applications.

Deleted declarations of TRUE and FALSE from &lt;vm/vm_param.h&gt;.  They
are defined in &lt;sys/param.h&gt; if KERNEL is defined and we'll soon
find out if any applications depend on them being defined in a vm
header.
</pre>
</div>
</content>
</entry>
</feed>
