Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
b616add793a3117690020b29e21a846635c142de
/
src
/
ev_kqueue.c
03e7853
BUILD: remove obsolete support for -mregparm / USE_REGPARM
by Willy Tarreau
· 4 years, 8 months ago
11ef083
MINOR: pollers: add a new flag to indicate pollers reporting ERR & HUP
by Willy Tarreau
· 5 years ago
eaefc3c
BUG/MEDIUM: kqueue: Make sure we report read events even when no data.
by Olivier Houchard
· 5 years 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
· 6 years ago
beb859a
MINOR: polling: add an option to support busy polling
by Willy Tarreau
· 6 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
5ab3394
BUG/MAJOR: kqueue: Don't reset the changes number by accident.
by Olivier Houchard
· 6 years ago
60b639c
MEDIUM: hathreads: implement a more flexible rendez-vous point
by Willy Tarreau
· 6 years ago
c55b88e
BUG/MEDIUM: pollers/kqueue: use incremented position in event list
by PiBa-NL
· 6 years ago
cb92f5c
MINOR: pollers: move polled_mask outside of struct fdtab.
by Olivier Houchard
· 7 years ago
6b96f72
BUG/MEDIUM: pollers: Use a global list for fd shared between threads.
by Olivier Houchard
· 7 years ago
ebaba75
BUG/MEDIUM: kqueue: When adding new events, provide an output to get errors.
by Olivier Houchard
· 7 years ago
8ef1a6b
BUG/MINOR: fd: Don't clear the update_mask in fd_insert.
by Olivier Houchard
· 7 years ago
62a627a
MEDIUM: poller: use atomic ops to update the fdtab mask
by Willy Tarreau
· 7 years ago
7d24fad
MINOR: kqueue: get rid of the now useless fd_compute_new_polled_status()
by Willy Tarreau
· 7 years ago
745c60e
CLEANUP: fd: remove the unused "new" field
by Willy Tarreau
· 7 years ago
ce036bc
MINOR: polling: make epoll and kqueue not depend on maxfd anymore
by Willy Tarreau
· 7 years ago
727c89b
BUILD: kqueue/threads: Add test on MAX_THREADS to avoid warnings when complied without threads
by Christopher Faulet
· 7 years ago
13b007d
BUG/MINOR: kqueue/threads: Don't forget to close kqueue_fd[tid] on each thread
by Christopher Faulet
· 7 years ago
7a2364d
BUG/MEDIUM: kqueue/threads: use one kqueue_fd per thread
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
ba8e8c3
BUG/MEDIUM: kqueue: Don't bother closing the kqueue after fork.
by Olivier Houchard
· 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
fa06176
MEDIUM: kqueue: only set FD_POLL_IN when there are pending data
by Willy Tarreau
· 8 years ago
19c4ab9
MEDIUM: kqueue: take care of EV_EOF to improve polling status accuracy
by Willy Tarreau
· 8 years ago
dd437d9
MINOR: kqueue: exclusively rely on the kqueue returned status
by Willy Tarreau
· 8 years ago
5a76769
MINOR: fd: add a new flag HAP_POLL_F_RDHUP to struct poller
by Willy Tarreau
· 8 years ago
3c2f2f2
CLEANUP: remove unneeded casts
by Vincent Bernat
· 9 years ago
10146c9
CLEANUP: poll: move the conditions for waiting out of the poll functions
by Willy Tarreau
· 10 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
39ebef8
BUG/MINOR: poll: the I/O handler was called twice for polled I/Os
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
4a22627
MAJOR: ev_kqueue: 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
d79e79b
[BUG] O(1) pollers should check their FD before closing it
by Willy Tarreau
· 15 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
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
1db3771
[MEDIUM] limit the number of events returned by *poll*
by Willy Tarreau
· 17 years ago
79b8a62
[BUG] ev_kqueue was forgotten during the switch to timeval
by Willy Tarreau
· 17 years ago
ef1d1f8
[MAJOR] auto-registering of pollers at load time
by Willy Tarreau
· 18 years ago
258696f
[MAJOR] missing tv_now in kqueue_poll() blocking timeouts
by Willy Tarreau
· 18 years ago
40562cb
[MINOR] kqueue: use fd_clo() to close the fd
by Willy Tarreau
· 18 years ago
2ff7622
[MAJOR] delay registering of listener sockets at startup
by Willy Tarreau
· 18 years ago
8755285
[MEDIUM] kqueue: do not manually remove fds
by Willy Tarreau
· 18 years ago
cd5ce2a
[MAJOR] kqueue bug in handling infinite timeouts
by Willy Tarreau
· 18 years ago
63455a9
[MINOR] use 'is_set' instead of 'isset' in struct poller
by Willy Tarreau
· 18 years ago
69801b8
[MINOR] removed proto/polling.h which was not used anymore
by Willy Tarreau
· 18 years ago
1e63130a
[MAJOR] implemented support for FreeBSD's kqueue() polling mechanism
by Willy Tarreau
· 18 years ago