libqb/lib
Michael Chapman 2a06ffecde epoll: don't miss poll events under high load
If multiple epoll sources generate events simultaneously, it is possible
for more jobs to be added to particular priority level than will be
handled in one go by qb_loop_run_level(). If one of these epoll sources
gains a new event (say, by switching from "readable" to "readable and
writeable"), then this new event would be missed.

To fix this, merge new epoll events into revents regardless of whether
the job is on the joblist. When the job is dispatched, revents will be
cleared, or the epoll source will be deleted entirely.
2014-06-05 15:25:26 +10:00
..
.gitignore Cleanup the .gitignore files 2012-05-09 21:43:58 +10:00
array.c LOG: set the return code when calloc fails 2012-11-23 10:24:56 +11:00
atomic_int.h Add internal support for the new __atomic gcc builtins 2013-05-13 10:15:55 +10:00
hashtable.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
hdb.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
ipc_int.h Feature: Enforce buffer size limits on the server side 2013-11-18 16:51:31 -06:00
ipc_setup.c Low: ipc_setup.c: Add log for EAGAIN 2014-02-20 18:07:09 +09:00
ipc_shm.c Low: ipc: Remove ipc connection reference given to dispatch functions 2014-01-15 11:44:44 -06:00
ipc_socket.c Fix: ipcc: Properly timeout during recv when timeout value is provided 2014-03-12 14:05:13 -04:00
ipcc.c Fix: ipcc: Properly timeout during recv when timeout value is provided 2014-03-12 14:05:13 -04:00
ipcs.c Low: ipcs: Cleanup unnecessary reference counting 2014-04-04 12:12:58 -05:00
libqb.pc.in build: fix libqb.pc creation and make maintainer-clean 2012-08-27 15:07:36 +02:00
log_blackbox.c Low: blackbox: Abort blackbox logging on ringbuffer overwrite reclaim error 2013-10-08 21:59:59 -05:00
log_dcs.c LOG: copy the function/filename for dynamic callsites 2013-03-20 17:10:35 +11:00
log_file.c LOG: make it possible to fsync() on each file log. 2012-06-05 12:07:35 +10:00
log_format.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
log_int.h Feature: Filter logs using regex patter on function, format, or filename 2013-11-15 22:30:00 -06:00
log_syslog.c Get coverity to ignore this warning. 2012-02-03 14:42:25 +11:00
log_thread.c Fixes sem leak 2013-07-22 18:21:23 -05:00
log.c Feature: Filter logs using regex patter on function, format, or filename 2013-11-15 22:30:00 -06:00
loop_int.h LOOP: make it possible to pass in NULL as the default loop instance 2012-02-10 14:47:49 +11:00
loop_job.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
loop_poll_epoll.c epoll: don't miss poll events under high load 2014-06-05 15:25:26 +10:00
loop_poll_int.h POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll_kqueue.c Low: loop_pool_kqueue: remove potentially noisy dbug statement 2013-07-12 21:21:17 -05:00
loop_poll_poll.c POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll.c Detect the max signal value that can be used using NSIG macro 2013-08-19 20:44:10 -05:00
loop_timerlist.c TIMER: check for null timer handle 2012-03-09 12:17:03 +11:00
loop.c Avoid double-decrement of level->todo 2013-08-20 09:30:16 +10:00
Makefile.am Low: build: Don't allow Bsymbolic-functions LDFLAG to be used, it breaks unit tests 2014-02-25 15:17:16 -06:00
map_int.h PTRIE: refcount the notifier structs 2012-01-25 16:09:32 +11:00
map.c MAP: add a notifier purely to allow the user to free memory. 2011-12-14 00:26:01 +11:00
ringbuffer_helper.c RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer_int.h RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer.c Low: blackbox: Abort blackbox logging on ringbuffer overwrite reclaim error 2013-10-08 21:59:59 -05:00
rpl_sem.c rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
rpl_sem.h rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
skiplist.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
strchrnul.c Use safer versions of string functions (strcpy -> strlcpy) 2012-02-08 22:00:49 +11:00
strlcat.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
strlcpy.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
trie.c Fix: trie: fixes regression caused by ref count refactoring 2014-05-09 11:14:48 -04:00
unix.c Fixes fd leak 2013-07-22 16:11:15 -05:00
util_int.h IPC: Increase the listen backlog of IPC server 2014-01-08 13:29:51 +08:00
util.c Remove HZ and use sysconf instead. 2012-05-09 21:38:38 +10:00