[Xorp-cvs] XORP cvs commit: xorp/libxorp
Andrea Bittau
abittau at icir.org
Fri Nov 7 13:52:59 PST 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-11-07 21:52:59 UTC
XORP CVS repository
Modified files:
libxorp selector.cc selector.hh
Log message:
(Mostly) fix bug 814. When serving file descriptors with the same priority,
serve them round robin rather than favoring one and starving others.
This fix keeps minimal state (last served FD) so there are still scenarios where
FDs with the same priority can be starved. For example, a high priority FD can
effectively "reset" the last served FD variable, so that when low priority
descriptors are served again in the future, the process is restarted rather than
resumed from the last served (low priority) FD, hence favoring the first FD
selected.
Patch provided by Pavlin.
Bugzilla URL: http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=814
Revision Changes Path
1.55 +33 -6; commitid: 8e044914b89641a7; xorp/libxorp/selector.cc
1.36 +3 -1; commitid: 8e044914b89641a7; xorp/libxorp/selector.hh
More information about the Xorp-cvs
mailing list