commit | b48b323223da50c1222f8fddcb9b296ca28c6601 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Oct 17 22:54:17 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 18 08:20:26 2009 +0200 |
tree | eca46833a3abc3b3af8d06989989f855f1f5c329 | |
parent | 8d5d77efc3aa369df73223c778a0ecd637eafdbf [diff] |
[MEDIUM] fd: merge fd_list into fdtab The fd_list[] used by sepoll was indexed on the fd number and was only used to store the equivalent of an integer. Changing it to be merged with fdtab reduces the number of pointer computations, the code size and some initialization steps. It does not harm other pollers much either, as only one integer was added to the fdtab array.