History log of /dragonfly/sys/sys/sysref.h (Results 1 – 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# dae65060 20-Oct-2019 zrj <rimvydas.jasinskas@gmail.com>

<sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.

* Make <sys/sysref2.h> a kernel only header.
* Remove sys/types.h includes that follow <sys/param.h> in devfs(5).
* Add sys/malloc.h incl

<sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.

* Make <sys/sysref2.h> a kernel only header.
* Remove sys/types.h includes that follow <sys/param.h> in devfs(5).
* Add sys/malloc.h includes where it is actually used in sources.

While there, minor whitespace cleanup.

show more ...


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 698331b0 29-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Rename private to privdata and class to srclass to avoid conflicts with
C++.

Reported-by: Hasso Tepper <bugs@crater.dragonflybsd.org>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue663>


# 3551ce6b 26-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Add the kernel support function allocsysid().


# 028066b1 08-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Replace NOCDEV with NULL. NOCDEV was ((void *)-1) and as inherited
from *BSD a long time ago due to the device pointer / device number
duality. Now that the pointer and device number has been separ

Replace NOCDEV with NULL. NOCDEV was ((void *)-1) and as inherited
from *BSD a long time ago due to the device pointer / device number
duality. Now that the pointer and device number has been separated, we
can just use NULL to indicate no-pointer.

Replace si_refs with si_sysref. Use SYSREF for ref-count cdev_t. Enable
cdev_t reclamation on deletion.

show more ...


# 10aa77c0 29-Apr-2007 Matthew Dillon <dillon@dragonflybsd.org>

Implement SYSREF - structural reference counting, allocation, and sysid
management subsystem.

* Structural reference count management, including creation and termination
sequencing (e.g. where the

Implement SYSREF - structural reference counting, allocation, and sysid
management subsystem.

* Structural reference count management, including creation and termination
sequencing (e.g. where the structure might be temporarily referenced
during termination).

* Allocation. It uses an objcache backend for optimal allocation,
deallocation, and memory recovery.

* Sysid assignment and red-black tree indexing. It does this in the
objcache CTOR and DTOR so it costs us absolutely nothing in the
resource allocation / deallocation critical path. sysids will be
reused unless they are externally accessed.

show more ...


# 521f81c7 09-Mar-2011 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add vm.cache_vmspaces boot-time tunable

* Add vm.cache_vmspaces boot-time tunable, defaulting to 32 objects.
This controls how many free vmspace+pmap structures can be maintained
in the

kernel - Add vm.cache_vmspaces boot-time tunable

* Add vm.cache_vmspaces boot-time tunable, defaulting to 32 objects.
This controls how many free vmspace+pmap structures can be maintained
in the objcache.

* Change the sysref API a bit. mag_capacity becomes nom_cache.

Related-to: IRC conversion thesjg & vsrinivas

show more ...


# 18b4c2bb 13-Aug-2010 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Add sysref assertions

* Add checks in the sysref code to detect use-after-free situations.


# e654922c 11-Feb-2010 Matthew Dillon <dillon@apollo.backplane.com>

kernel - sysref - Fix vnode interlock for 1->0 transition

* When the vnode refcount drops to 0 vnode_terminate() is called. This
function previously acquired the vx_lock() after the 1->0 transiti

kernel - sysref - Fix vnode interlock for 1->0 transition

* When the vnode refcount drops to 0 vnode_terminate() is called. This
function previously acquired the vx_lock() after the 1->0 transition.

Instead integrate the acquisition of the vx_lock() into the 1->0
transition to close a small MP race.

show more ...