History log of /freebsd-10.3-release/sys/sys/refcount.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 262192 18-Feb-2014 jhb

MFC 261517,261520:
Convert the license on files where I am the sole copyright holder to
2 clause BSD licenses.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 238828 27-Jul-2012 glebius

Add assertion for refcount overflow.

Submitted by: Andrey Zonov <andrey zonov.org>
Reviewed by: kib


# 180763 23-Jul-2008 des

Remove debugging cruft.


# 180762 23-Jul-2008 des

pjd@'s r180759 was intended to revert r180755 due to ipfilter breakage,
but removed too much, breaking the build in other places instead. Now
that the ipfilter issue has been fixed (or hacked around), address the
second issue by restoring r180755, with one small change. I don't feel
comfortable using assert(3) in a header that will be included in userland
code that may or may not already have an assertion mechanism in place,
so KASSERT() evaluates to a no-op in the !_KERNEL case.


# 180759 23-Jul-2008 pjd

Back out this change, as it breaks the build and I don't have time for
a better fix today.


# 180755 23-Jul-2008 pjd

Check for negative reference count.

Reviewed by: des


# 150629 27-Sep-2005 jhb

Add a simple reference count API that is simply a thin wrapper API around
atomic operations on ints.

Reviewed by: arch@
MFC after: 1 week