Bug #1150

use atomic_fetchadd_int in m_mclfree()

Added by sepherosa over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi all,

Following patch uses atomic_fetchadd_int to simplify the reference
logic in m_mclfree()
http://leaf.dragonflybsd.org/~sephe/mbuf_fetchadd.diff

Best Regards,
sephe

History

#1 Updated by dillon over 5 years ago

:Hi all,
:
:Following patch uses atomic_fetchadd_int to simplify the reference
:logic in m_mclfree()
:http://leaf.dragonflybsd.org/~sephe/mbuf_fetchadd.diff
:
:Best Regards,
:sephe

Looks good. It sure simplifies things!

-Matt
Matthew Dillon
<>

#2 Updated by aoiko over 5 years ago

committed (with modifications) by sephe@

Also available in: Atom PDF