]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: i386: make use of kernel-mode-linux when available
authorWilly Tarreau <w@1wt.eu>
Mon, 18 Jun 2012 18:01:30 +0000 (20:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Jul 2012 05:53:42 +0000 (07:53 +0200)
commit5b88da269c528a399606f35cf13e7dea58eabd90
treeb5ebe3abb2bab8ce28368db600f8282e9dc5de63
parenta7ad50cdb1056c23602770ef62860c30a6f3a016
OPTIM: i386: make use of kernel-mode-linux when available

If haproxy is built with support for USE_VSYSCALL_DLSYM, it's very
easy to check for KML availability. So let's enable it. Tests show
a small overall performance improvement around 1%. Other tests show
that the syscall overhead is divided by 4 on a Geode LX using this
method.
src/i386-linux-vsys.c