Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
5d7dcc2a8e21dbbe9ae4350a7c6914adf61ecab1
/
src
/
ev_poll.c
11ef083
MINOR: pollers: add a new flag to indicate pollers reporting ERR & HUP
by Willy Tarreau
· 4 years, 9 months ago
6b30898
MEDIUM: fd: do not use the FD_POLL_* flags in the pollers anymore
by Willy Tarreau
· 5 years ago
5bee3e2
MEDIUM: fd: remove the FD_EV_POLLED status bit
by Willy Tarreau
· 5 years ago
5305505
MEDIUM: pollers: Remember the state for read and write for each threads.
by Olivier Houchard
· 5 years ago
305d5ab
MAJOR: fd: Get rid of the fd cache.
by Olivier Houchard
· 5 years ago
2ae84e4
MEDIUM: poller: separate the wait time from the wake events
by Willy Tarreau
· 5 years ago
cb6c927
MEDIUM: pollers: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 5 years ago
48f8bc1
MINOR: poller: move the call of tv_update_date() back to the pollers
by Willy Tarreau
· 6 years ago
609aad9
REORG: time/activity: move activity measurements to activity.{c,h}
by Willy Tarreau
· 6 years ago
7e9c4ae
MINOR: poller: move time and date computation out of the pollers
by Willy Tarreau
· 6 years ago
f37ba94
MINOR: fd: centralize poll timeout computation in compute_poll_timeout()
by Willy Tarreau
· 6 years ago
60b639c
MEDIUM: hathreads: implement a more flexible rendez-vous point
by Willy Tarreau
· 6 years ago
cb92f5c
MINOR: pollers: move polled_mask outside of struct fdtab.
by Olivier Houchard
· 6 years ago
6b96f72
BUG/MEDIUM: pollers: Use a global list for fd shared between threads.
by Olivier Houchard
· 6 years ago
8ef1a6b
BUG/MINOR: fd: Don't clear the update_mask in fd_insert.
by Olivier Houchard
· 6 years ago
62a627a
MEDIUM: poller: use atomic ops to update the fdtab mask
by Willy Tarreau
· 7 years ago
1394eb0
MINOR: poll: get rid of the now useless fd_compute_new_polled_status()
by Willy Tarreau
· 7 years ago
fc6eea4
MEDIUM: poll: don't use the old FD state anymore
by Willy Tarreau
· 7 years ago
82b37d7
MEDIUM: fd: use atomic ops for hap_fd_{clr,set} and remove poll_lock
by Willy Tarreau
· 7 years ago
322e6c7
MINOR: fd: move the hap_fd_{clr,set,isset} functions to fd.h
by Willy Tarreau
· 7 years ago
745c60e
CLEANUP: fd: remove the unused "new" field
by Willy Tarreau
· 7 years ago
2d3c2db
MINOR: poll: more accurately compute the new maxfd in the loop
by Willy Tarreau
· 7 years ago
173d995
MEDIUM: polling: start to move maxfd computation to the pollers
by Willy Tarreau
· 7 years ago
ebc78d7
BUG/MEDIUM: fd: maintain a per-thread update mask
by Willy Tarreau
· 7 years ago
d80cb4e
MINOR: global: add some global activity counters to help debugging
by Willy Tarreau
· 7 years ago
cc35923
BUG/MINOR: poll: too large size allocation for FD events
by Willy Tarreau
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
f65610a
CLEANUP: threads: rename process_mask to thread_mask
by Willy Tarreau
· 7 years ago
cd7879a
BUG/MEDIUM: threads: Run the poll loop on the main thread too
by Christopher Faulet
· 7 years ago
63e2ce6
MINOR: threads/polling: pollers now handle FDs depending on the process mask
by Christopher Faulet
· 7 years ago
d4604ad
MAJOR: threads/fd: Make fd stuffs thread-safe
by Christopher Faulet
· 7 years ago
ab62f51
MINOR: polling: Use fd_update_events to update events seen for a fd
by Christopher Faulet
· 7 years ago
3c8a896
OPTIM: poll: enable support for POLLRDHUP
by Willy Tarreau
· 7 years ago
5a76769
MINOR: fd: add a new flag HAP_POLL_F_RDHUP to struct poller
by Willy Tarreau
· 7 years ago
091e86e
BUILD: poll: remove unused hap_fd_isset() which causes a warning with clang
by Willy Tarreau
· 8 years ago
10146c9
CLEANUP: poll: move the conditions for waiting out of the poll functions
by Willy Tarreau
· 9 years ago
5be2f35
MAJOR: polling: centralize calls to I/O callbacks
by Willy Tarreau
· 10 years ago
25002d2
MINOR: polling: create function fd_compute_new_polled_status()
by Willy Tarreau
· 11 years ago
e852545
MEDIUM: polling: centralize polled events processing
by Willy Tarreau
· 11 years ago
f817e9f
MAJOR: polling: rework the whole polling system
by Willy Tarreau
· 11 years ago
899d957
REORG: polling: rename the cache allocation functions
by Willy Tarreau
· 11 years ago
16f649c
REORG: polling: rename "fd_spec" to "fd_cache"
by Willy Tarreau
· 11 years ago
15a4dec
REORG: polling: rename "spec_e" to "state" and "spec_p" to "cache"
by Willy Tarreau
· 11 years ago
69a41fa
CLEANUP: polling: rename "spec_e" to "state"
by Willy Tarreau
· 11 years ago
80da05a
MEDIUM: poll: do not use FD_* macros anymore
by Willy Tarreau
· 11 years ago
39ebef8
BUG/MINOR: poll: the I/O handler was called twice for polled I/Os
by Willy Tarreau
· 12 years ago
db9cb0b
CLEANUP: poll: remove a useless double-check on fdtab[fd].owner
by Willy Tarreau
· 12 years ago
462c720
CLEANUP: polling: gcc doesn't always optimize constants away
by Willy Tarreau
· 12 years ago
26d7cfc
BUG/MAJOR: polling: do not set speculative events on ERR nor HUP
by Willy Tarreau
· 12 years ago
70c6fd8
MAJOR: polling: remove unused callbacks from the poller struct
by Willy Tarreau
· 12 years ago
cc7e3f7
MAJOR: ev_poll: make the poller support speculative events
by Willy Tarreau
· 12 years ago
babd05a
MEDIUM: fd: add fd_poll_{recv,send} for use when explicit polling is required
by Willy Tarreau
· 12 years ago
3788e4c
MEDIUM: fd: remove the EV_FD_COND_* primitives
by Willy Tarreau
· 12 years ago
076be25
CLEANUP: remove the now unused fdtab direct I/O callbacks
by Willy Tarreau
· 12 years ago
9845e75
MEDIUM: polling: prepare to call the iocb() function when defined.
by Willy Tarreau
· 12 years ago
db3b326
REORG/MEDIUM: fd: remove FD_STCLOSE from struct fdtab
by Willy Tarreau
· 12 years ago
491c498
BUG/MINOR: polling: some events were not set in various pollers
by Willy Tarreau
· 12 years ago
45a1251
[MEDIUM] poll: add a measurement of idle vs work time
by Willy Tarreau
· 13 years ago
332740d
[MEDIUM] pollers: don't wait if a signal is pending
by Willy Tarreau
· 15 years ago
a534fea
[CLEANUP] remove 65 useless NULL checks before free
by Willy Tarreau
· 16 years ago
177e2b0
[CLEANUP] remove dependency on obsolete INTBITS macro
by Willy Tarreau
· 16 years ago
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
by Willy Tarreau
· 16 years ago
0c303ee
[MAJOR] convert all expiration timers from timeval to ticks
by Willy Tarreau
· 16 years ago
b0b37bc
[MEDIUM] further improve monotonic clock by check forward jumps
by Willy Tarreau
· 16 years ago
b7f694f
[MEDIUM] implement a monotonic internal clock
by Willy Tarreau
· 16 years ago
3a62811
[BUG] event pollers must not wait if a task exists in the run queue
by Willy Tarreau
· 16 years ago
1c2ab96
[MAJOR] implement parameter hashing for POST requests
by matt.farnsworth@nokia.com
· 16 years ago
bdefc51
[BUG] fix null timeouts in *poll-based pollers
by Willy Tarreau
· 17 years ago
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· 17 years ago
ef1d1f8
[MAJOR] auto-registering of pollers at load time
by Willy Tarreau
· 17 years ago
2ff7622
[MAJOR] delay registering of listener sockets at startup
by Willy Tarreau
· 17 years ago
63455a9
[MINOR] use 'is_set' instead of 'isset' in struct poller
by Willy Tarreau
· 17 years ago
69801b8
[MINOR] removed proto/polling.h which was not used anymore
by Willy Tarreau
· 17 years ago
e54e917
[MINOR] ev_* : moved the poll function closer to fd_*
by Willy Tarreau
· 17 years ago
97129b5
[MINOR] changed fd_set*/fd_clr* functions to return ints
by Willy Tarreau
· 17 years ago
28d8686
[MEDIUM] pollers: store the events in arrays
by Willy Tarreau
· 17 years ago
4f60f16
[MAJOR] modularize the polling mechanisms
by Willy Tarreau
· 17 years ago