commit | 573fd806edf41c411945dac32eb541da0dca8f24 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 22 19:25:46 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 22 19:25:46 2009 +0100 |
tree | f30cc32e922cd1c23bcbf239aa7629cb80ba132f | |
parent | b00f9c456c0eadd26abbbf4bb0a3276da9f1844e [diff] |
[OPTIM] sepoll: do not re-check whole list upon accepts There is already an optimisation in the speculative poller which causes newly created FDs to be checked immediately after being created. Unfortunately, this optimisation causes the whole spec list to be re-checked while we're only interested in the new FDs. Doing this minor change causes performance gains of up to 6% on medium-sized objects with a few hundreds concurrent connections.