]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: epoll: use a temp variable for intermediary flag computations
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Dec 2012 22:52:58 +0000 (23:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Dec 2012 22:52:58 +0000 (23:52 +0100)
commit6320c3cb468ce5b7f5013ef048b53ee8c744a2d5
tree68eac560763bae67513935397ab289b128cdf6ec
parentdb9cb0b9b79647fd880e90e940d7c60e9bb790e2
OPTIM: epoll: use a temp variable for intermediary flag computations

Playing with fdtab[fd].ev makes gcc constantly reload the pointers
because it does not know they don't alias. Use a temporary variable
instead. This saves a few operations in the fast path.
src/ev_epoll.c