On Monday 17 September 2007 04:32:08 pm Andrew Thompson wrote: > On Mon, Sep 17, 2007 at 09:18:48AM -0700, Alfred Perlstein wrote: > > * Andrew Thompson <[EMAIL PROTECTED]> [070914 18:11] wrote: > > > thompsa 2007-09-15 01:11:26 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: (Branch: RELENG_6) > > > sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h > > > if_lagg.c if_lagg.h > > > Log: > > > MFC > > > Change from a mutex to a read/write lock. This allows the tx port to be > > > selected simultaneously by multiple senders and transmit/receive is not > > > serialised between aggregated interfaces. > > > > Rad! :) > > And big thanks to you for MFCing it.
Have you benchmarked this? Because rwlocks don't adaptively spin when a reader holds the lock, there are some cases where a mutex actually performs better than a rwlock. -- John Baldwin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
