chiark / gitweb /
Remove the cap on epoll events
authorHannes Reinecke <hare@suse.de>
Wed, 4 Mar 2015 15:32:16 +0000 (16:32 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Mar 2015 02:43:17 +0000 (21:43 -0500)
commit1c724e9e0ec5bc4bf791a3d7b1cf5b955cdb98b2
tree21172ccb30c0d373c0a640dfd69df32d2e871b05
parent4f70555d76c90ffdc5a5e4f75bbc08b38022c911
Remove the cap on epoll events

Currently the code will silently blank out events if there are more
then 512 epoll events, causing them never to be handled at all. This
patch removes the cap on the number of events for epoll_wait, thereby
avoiding this issue.
src/libsystemd/sd-event/sd-event.c