Use atomic_fetchadd_int() to simplify the reference counting logic.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 24 Oct 2008 11:15:07 +0000 (11:15 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 24 Oct 2008 11:15:07 +0000 (11:15 +0000)
commitdee87a6059ce9aba6462cea8d229079f0ee7fc48
tree5ed1d914fc1e2ad6155e981c75347a510b78c907
parent4d14f86786eb0f06ee69ee59c1bc8842ff1f5cdc
Use atomic_fetchadd_int() to simplify the reference counting logic.

Reviewed-by: dillon@
sys/kern/uipc_mbuf.c