<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/vm/vm_map.c, branch release/4.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2000-07-26T21:12:35+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2000-07-26T21:12:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f1bf9342879a7ee2dd88e11a33ae7509eab55b0'/>
<id>7f1bf9342879a7ee2dd88e11a33ae7509eab55b0</id>
<content type='text'>
'RELENG_4_1_0_RELEASE'.

This commit was manufactured to restore the state of the 4.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_4_1_0_RELEASE'.

This commit was manufactured to restore the state of the 4.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</pre>
</div>
</content>
</entry>
<entry>
<title>    MFC 1.190 - fix bug in madvise MADV_WILLNEED</title>
<updated>2000-05-15T16:45:40+00:00</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2000-05-15T16:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=94ad550a5b985e6bfc0531924edfa0c8cc1d2da8'/>
<id>94ad550a5b985e6bfc0531924edfa0c8cc1d2da8</id>
<content type='text'>
Reviewd by: alc
Tested by: "Sean O'Connell" &lt;sean@stat.Duke.EDU&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewd by: alc
Tested by: "Sean O'Connell" &lt;sean@stat.Duke.EDU&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).</title>
<updated>2000-02-28T04:10:35+00:00</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2000-02-28T04:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9730a5daab56ddfd4d6d0907665f275aae2b0b45'/>
<id>9730a5daab56ddfd4d6d0907665f275aae2b0b45</id>
<content type='text'>
This
This feature allows you to specify if mmap'd data is included in
an application's corefile.

Change the type of eflags in struct vm_map_entry from u_char to
vm_eflags_t (an unsigned int).

Reviewed by:	dillon,jdp,alfred
Approved by:	jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This
This feature allows you to specify if mmap'd data is included in
an application's corefile.

Change the type of eflags in struct vm_map_entry from u_char to
vm_eflags_t (an unsigned int).

Reviewed by:	dillon,jdp,alfred
Approved by:	jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>    Fix null-pointer dereference crash when the system is intentionally</title>
<updated>2000-02-16T21:11:33+00:00</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2000-02-16T21:11:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f6889a1eb5070dfa739f4158cfb33f13b7a462d'/>
<id>1f6889a1eb5070dfa739f4158cfb33f13b7a462d</id>
<content type='text'>
    run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>    Fix a deadlock between msync(..., MS_INVALIDATE) and vm_fault.  The</title>
<updated>2000-01-21T20:17:01+00:00</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2000-01-21T20:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ff359f84c98d15da2a19585adca5eaf0f84692e9'/>
<id>ff359f84c98d15da2a19585adca5eaf0f84692e9</id>
<content type='text'>
    invalidation code cannot wait for paging to complete while holding a
    vnode lock, so we don't wait.  Instead we simply allow the lower level
    code to simply block on any busy pages it encounters.  I think Yahoo
    may be the only entity in the entire world that actually uses this
    msync feature :-).

Bug reported by:  Paul Saab &lt;paul@mu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    invalidation code cannot wait for paging to complete while holding a
    vnode lock, so we don't wait.  Instead we simply allow the lower level
    code to simply block on any busy pages it encounters.  I think Yahoo
    may be the only entity in the entire world that actually uses this
    msync feature :-).

Bug reported by:  Paul Saab &lt;paul@mu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>    Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to</title>
<updated>1999-12-12T03:19:33+00:00</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>1999-12-12T03:19:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f79d873c19c33d2b41899b5a0a2672e858e2051'/>
<id>4f79d873c19c33d2b41899b5a0a2672e858e2051</id>
<content type='text'>
    madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove nonsensical vm_map_{clear,set}_recursive() calls</title>
<updated>1999-11-25T20:21:52+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-11-25T20:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2b71c841f521c575d2a2dcf03927c2d1c1a3facb'/>
<id>2b71c841f521c575d2a2dcf03927c2d1c1a3facb</id>
<content type='text'>
from vm_map_pageable().  At the point they called, vm_map_pageable()
holds a read (or shared) lock on the map.  The purpose
of vm_map_{clear,set}_recursive() is to disable/enable repeated
write (or exclusive) lock requests by the same process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from vm_map_pageable().  At the point they called, vm_map_pageable()
holds a read (or shared) lock on the map.  The purpose
of vm_map_{clear,set}_recursive() is to disable/enable repeated
write (or exclusive) lock requests by the same process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct the following error: vm_map_pageable() on a COW'ed (post-fork)</title>
<updated>1999-11-23T06:51:28+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-11-23T06:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ed14a92db3531008eeb519aab84d9de1702f63e'/>
<id>2ed14a92db3531008eeb519aab84d9de1702f63e</id>
<content type='text'>
 vm_map always failed because vm_map_lookup() looked at
 "vm_map_entry-&gt;wired_count" instead of "(vm_map_entry-&gt;eflags &amp;
 MAP_ENTRY_USER_WIRED)".  The effect was that many page
 wiring operations by sysctl were (silently) failing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 vm_map always failed because vm_map_lookup() looked at
 "vm_map_entry-&gt;wired_count" instead of "(vm_map_entry-&gt;eflags &amp;
 MAP_ENTRY_USER_WIRED)".  The effect was that many page
 wiring operations by sysctl were (silently) failing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused #include's.</title>
<updated>1999-11-07T20:03:54+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-11-07T20:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=79e1e3b9b4f4e3055a8809d36412753806080fc9'/>
<id>79e1e3b9b4f4e3055a8809d36412753806080fc9</id>
<content type='text'>
Submitted by:	phk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	phk
</pre>
</div>
</content>
</entry>
<entry>
<title>The functions declared by this header file no longer exist.</title>
<updated>1999-11-07T06:46:48+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-11-07T06:46:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1ab41ed97c7c74f7a1bfc0069eda0fc1a2f42613'/>
<id>1ab41ed97c7c74f7a1bfc0069eda0fc1a2f42613</id>
<content type='text'>
Submitted by:	phk (in part)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	phk (in part)
</pre>
</div>
</content>
</entry>
</feed>
