]> git.kaiwu.me - haproxy.git/commit
[MAJOR] replaced rbtree with ul2tree.
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2007 08:41:56 +0000 (10:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2007 11:43:53 +0000 (13:43 +0200)
commit96bcfd75aad6f410d7c8c0311d76799cf1ad87a5
tree0c03597ead668026d39b24f3cd85599d9ec99fd3
parent3fa095d54232caaaa98627e61db32f71eaba82ce
[MAJOR] replaced rbtree with ul2tree.

The rbtree-based wait queue consumes a lot of CPU. Use the ul2tree
instead. Lots of cleanups and code reorganizations made it possible
to reduce the task struct and simplify the code a bit.
12 files changed:
include/proto/task.h
include/types/task.h
src/appsession.c
src/backend.c
src/cfgparse.c
src/checks.c
src/client.c
src/haproxy.c
src/proto_http.c
src/queue.c
src/stream_sock.c
src/task.c