Searched hist:158767 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/sys/netipsec/ | ||
H A D | key.c | diff 158767 Sat May 20 13:35:36 MDT 2006 pjd Prevent disappearing SAD entries by implementing MPsafe refcounting. "Why didn't he use SECASVAR_LOCK()/SECASVAR_UNLOCK() macros to synchronize access to the secasvar structure's fields?" one may ask. There were two reasons: 1. refcount(9) is faster then mutex(9) synchronization (one atomic operation instead of two). 2. Those macros are not used now at all, so at some point we may decide to remove them entirely. OK'ed by: gnn MFC after: 2 weeks |
Completed in 102 milliseconds