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]

use atomic_fetchadd_int in m_mclfree()


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Thu, 23 Oct 2008 19:40:41 +0800

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

-- 
Live Free or Die



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