DragonFly submit List (threaded) for 2008-10
DragonFly BSD
DragonFly submit List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: use atomic_fetchadd_int in m_mclfree()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Oct 2008 21:26:13 -0700 (PDT)

: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 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]