cvs commit: src/sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h
jhb at freebsd.org
Fri Sep 21 12:27:31 PDT 2007
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 <thompsa at FreeBSD.org> [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
> > > selected simultaneously by multiple senders and transmit/receive is
> > > 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.
More information about the cvs-all