Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Leffler
Date: Monday, December 8, 2008 - 3:40 pm

ath's rate control module is bound using symbols so only one of these 
modules can ever be used at a time.  A module dependency is used to 
auto-load the rate control module hence the fixed name.

At the time this code was written it was felt the overhead to use 
indirect function calls and the like was too significant.  Now folks may 
not care in which case you could use some sort of registration-style 
mechanism to allow runtime selection of the rate control algorithm.  Fee 
free to supply patches.

OTOH sample is so vastly superior to the other 2 algorithms that I 
almost removed the others recently.

    Sam

Vladimir Grebenschikov wrote:

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample, Vladimir Grebenschikov, (Mon Dec 8, 5:27 am)
Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample, Jille Timmermans, (Mon Dec 8, 5:33 am)
Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample, Vladimir Grebenschikov, (Mon Dec 8, 5:40 am)
Re: svn commit: r185482 - head/sys/dev/ath/ath_rate/sample, Sam Leffler, (Mon Dec 8, 3:40 pm)