<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/vm/vm_object.c, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-08-04T05:18:24Z</updated>
<entry>
<title>MFC r285878 (stable/10 r286145):</title>
<updated>2015-08-04T05:18:24Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-08-04T05:18:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1930470faeafaaebd50eea76b2a6ddaee8cc3c5'/>
<id>urn:sha1:c1930470faeafaaebd50eea76b2a6ddaee8cc3c5</id>
<content type='text'>
Revert r173708's modifications to vm_object_page_remove().
This fixes inconsistencies encountered by vm_object_unwire() or
by the buffer cache when the file is truncated.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC 261811,282660,282706:</title>
<updated>2015-06-06T20:37:40Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2015-06-06T20:37:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f0304fc03a37c215e38a4c2c1c9029e899c773da'/>
<id>urn:sha1:f0304fc03a37c215e38a4c2c1c9029e899c773da</id>
<content type='text'>
Place VM objects on the object list when created and never remove them.

261811:
Fix function name in KASSERT().

282660:
Place VM objects on the object list when created and never remove them.
This is ok since objects come from a NOFREE zone and allows objects to
be locked while traversing the object list without triggering a LOR.

Ensure that objects on the list are marked DEAD while free or stillborn,
and that they have a refcount of zero.  This required updating most of
the pagers to explicitly mark an object as dead when deallocating it.
(Only the vnode pager did this previously.)

282706:
Satisfy vm_object uma zone destructor requirements after r282660 when
vnode object creation raced.
</content>
</entry>
<entry>
<title>MFC r279720</title>
<updated>2015-04-03T16:40:39Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2015-04-03T16:40:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=16f6781a55cc3a59d48aa02e6efa67c07d4fd787'/>
<id>urn:sha1:16f6781a55cc3a59d48aa02e6efa67c07d4fd787</id>
<content type='text'>
  Correct a typo in vm_object_backing_scan() that originated in r254141.
  Specifically, change a lock acquire into a lock release.
</content>
</entry>
<entry>
<title>MFC r277828:</title>
<updated>2015-02-11T09:02:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-02-11T09:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=333d5122f61a2ba1095b6f6b7a94e8d6212af0e0'/>
<id>urn:sha1:333d5122f61a2ba1095b6f6b7a94e8d6212af0e0</id>
<content type='text'>
Update mtime for tmpfs files modified through memory mapping.

MFC r277969:
Update both ctime and mtime for writes to tmpfs files.

MFC r277972:
Remove single-use boolean.

MFC r278151:
Remove duplicated assignment.
</content>
</entry>
<entry>
<title>MFC r275513:</title>
<updated>2014-12-12T09:22:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-12-12T09:22:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=890d5dab587ed3a71cac9ae07a8de6850e4acf08'/>
<id>urn:sha1:890d5dab587ed3a71cac9ae07a8de6850e4acf08</id>
<content type='text'>
When the last reference on the vnode' vm object is dropped, read the
vp-&gt;v_vflag without taking vnode lock and without bypass.
</content>
</entry>
<entry>
<title>Fix a leak of the wired pages when unwiring of the PROT_NONE-mapped</title>
<updated>2014-09-01T07:58:15Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-01T07:58:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7676b49b19cd991f895fe69fa0dda713a65f514d'/>
<id>urn:sha1:7676b49b19cd991f895fe69fa0dda713a65f514d</id>
<content type='text'>
wired region.  Rework the handling of unwire to do the it in batch,
both at pmap and object level.

All commits below are by alc.

MFC r268327:
Introduce pmap_unwire().

MFC r268591:
Implement pmap_unwire() for powerpc.

MFC r268776:
Implement pmap_unwire() for arm.

MFC r268806:
pmap_unwire(9) man page.

MFC r269134:
When unwiring a region of an address space, do not assume that the
underlying physical pages are mapped by the pmap.  This fixes a leak
of the wired pages on the unwiring of the region mapped with no access
allowed.

MFC r269339:
In the implementation of the new function pmap_unwire(), the call to
MOEA64_PVO_TO_PTE() must be performed before any changes are made to the
PVO. Otherwise, MOEA64_PVO_TO_PTE() will panic.

MFC r269365:
Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed
by the combination of r268591 and r269134: When we attempt to add the
wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing.
(They only set the wired attribute on newly created mappings.)

MFC r269433:
Handle wiring failures in vm_map_wire() with the new functions
pmap_unwire() and vm_object_unwire().
Retire vm_fault_{un,}wire(), since they are no longer used.

MFC r269438:
Rewrite a loop in vm_map_wire() so that gcc doesn't think that the variable
"rv" is uninitialized.

MFC r269485:
Retire pmap_change_wiring().

Reviewed by:	alc
</content>
</entry>
<entry>
<title>MFC r268615:</title>
<updated>2014-07-28T01:21:02Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-07-28T01:21:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7c5947d1ed90b5ced68c4d90f943c7769e4fae47'/>
<id>urn:sha1:7c5947d1ed90b5ced68c4d90f943c7769e4fae47</id>
<content type='text'>
Add OBJ_TMPFS_NODE flag.

MFC r268616:
Set the OBJ_TMPFS_NODE flag for vm_object of VREG tmpfs node.

MFC r269053:
Correct assertion. tmpfs vm object is always at the bottom of
the shadow chain.
</content>
</entry>
<entry>
<title>MFC r263092:</title>
<updated>2014-03-19T13:04:16Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-03-19T13:04:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d08b941ffaf5f52bf8df628ca5c35efd375ec3e1'/>
<id>urn:sha1:d08b941ffaf5f52bf8df628ca5c35efd375ec3e1</id>
<content type='text'>
Do not vdrop() the tmpfs vnode until it is unlocked.  The hold
reference might be the last, and then vdrop() would free the vnode.
</content>
</entry>
<entry>
<title>MFC r261867:</title>
<updated>2014-02-21T09:43:34Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2014-02-21T09:43:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=777909ab75688d1c553259e9c42feeb7c1347171'/>
<id>urn:sha1:777909ab75688d1c553259e9c42feeb7c1347171</id>
<content type='text'>
Use the right index to free swapspace after vm_page_rename().
</content>
</entry>
<entry>
<title>MFC r257680:</title>
<updated>2013-11-12T08:01:58Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2013-11-12T08:01:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65e2a444734d54776f34fc81d030677eb8d31d50'/>
<id>urn:sha1:65e2a444734d54776f34fc81d030677eb8d31d50</id>
<content type='text'>
Do not coalesce if the swap object belongs to tmpfs vnode.

Approved by:	re (glebius)
</content>
</entry>
</feed>
