<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/xen/gntdev, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2026-04-23T17:05:53Z</updated>
<entry>
<title>pmap_quick_(enter|remove)_page: Use void * instead of vm_offset_t</title>
<updated>2026-04-23T17:05:53Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-04-23T17:05:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=115065459cedf21a391f749fedb077b82b76ce67'/>
<id>urn:sha1:115065459cedf21a391f749fedb077b82b76ce67</id>
<content type='text'>
Effort:		CHERI upstreaming
Reviewed by:	kib
Sponsored by:	AFRL, DARPA
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2068
</content>
</entry>
<entry>
<title>device_pager: user iterators to free device pages</title>
<updated>2024-11-21T21:49:30Z</updated>
<author>
<name>Doug Moore</name>
<email>dougm@FreeBSD.org</email>
</author>
<published>2024-11-21T21:49:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=38e3125d6df98919983ed800471673ff0e5c2337'/>
<id>urn:sha1:38e3125d6df98919983ed800471673ff0e5c2337</id>
<content type='text'>
Change cdev_mgtdev_page_free_page to take an iterator, rather than an
object and page, so that removing the page from the object radix tree
can take advantage of locality with iterators. Define a
general-purpose function to free all pages, which can be used in
several places.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D47692
</content>
</entry>
<entry>
<title>dev_pager: define free_page for mgt devices</title>
<updated>2024-08-21T20:48:59Z</updated>
<author>
<name>Doug Moore</name>
<email>dougm@FreeBSD.org</email>
</author>
<published>2024-08-21T20:48:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d48524e21f1a49752485418324538755571ed13f'/>
<id>urn:sha1:d48524e21f1a49752485418324538755571ed13f</id>
<content type='text'>
Callers of cdev_pager_free_page in the kernel always have object-&gt;type
== OBJT_MGTDEVICE. Define a function for them to call that skips the
runtime type check in cdev_pager_free.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D46389
</content>
</entry>
<entry>
<title>gntdev: Handle errors from suword32() in gntdev_alloc_gref()</title>
<updated>2023-12-26T02:04:01Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-12-26T01:42:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6cdff09c0d70f780a738dbd3d87deb3b13ec8446'/>
<id>urn:sha1:6cdff09c0d70f780a738dbd3d87deb3b13ec8446</id>
<content type='text'>
Try to copy out output values before handling errors, and check that we
did so successfully.  In particular, it doesn't seem sensible to ignore
errors here, otherwise userspace won't have any way to refer to the
allocations.

This is in preparation for annotating copyin() and related functions
with __result_use_check.

Reviewed by:	royger
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43145
</content>
</entry>
<entry>
<title>sys: Automated cleanup of cdefs and other formatting</title>
<updated>2023-11-27T05:24:00Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-24T20:12:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fdafd315ad0d0f28a11b9fb4476a9ab059c62b92'/>
<id>urn:sha1:fdafd315ad0d0f28a11b9fb4476a9ab059c62b92</id>
<content type='text'>
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+&lt;sys/cdefs.h&gt;.*\n/
Remove /\n+#include\s+&lt;sys/cdefs.h&gt;.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/types.h&gt;/
Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/param.h&gt;/
Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/capsicum.h&gt;/

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>urn:sha1:685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
<entry>
<title>xen: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-06T22:46:58Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-06T22:46:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f929eb1ed50f079f1638cdabe511ac2e347f541a'/>
<id>urn:sha1:f929eb1ed50f079f1638cdabe511ac2e347f541a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert vm_page_alloc() callers to use vm_page_alloc_noobj().</title>
<updated>2021-10-20T01:22:56Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-10-20T00:23:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a4667e09e6520dc2c4b0b988051f060fed695a91'/>
<id>urn:sha1:a4667e09e6520dc2c4b0b988051f060fed695a91</id>
<content type='text'>
Remove page zeroing code from consumers and stop specifying
VM_ALLOC_NOOBJ.  In a few places, also convert an allocation loop to
simply use VM_ALLOC_WAITOK.

Similarly, convert vm_page_alloc_domain() callers.

Note that callers are now responsible for assigning the pindex.

Reviewed by:	alc, hselasky, kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31986
</content>
</entry>
<entry>
<title>Convert allocations of the phys pager to vm_pager_allocate().</title>
<updated>2020-09-08T23:38:49Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-08T23:38:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fbf2a778760f24565eab950ced3e2ad1df4cf844'/>
<id>urn:sha1:fbf2a778760f24565eab950ced3e2ad1df4cf844</id>
<content type='text'>
Future changes would require additional initialization of OBJT_PHYS
objects, and vm_object_allocate() is not suitable for it.

Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D24652
</content>
</entry>
<entry>
<title>dev/xen: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:45:08Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:45:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6c7cae4a73b883ec0410e882bb56622c3090592c'/>
<id>urn:sha1:6c7cae4a73b883ec0410e882bb56622c3090592c</id>
<content type='text'>
</content>
</entry>
</feed>
