X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=622f5bde41d04e648507c1b3f03233c67c703cd6;hp=0b3cb324341a225ab6ab33c588a170e6d9cc23c4;hb=cc0acbd149005db7b944856be2aff499f38c0d64;hpb=0f7e462855a941e18907f1a33060368a3c5e1f16 diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 0b3cb3243..622f5bde4 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -24,20 +24,6 @@ #include -/* - * Maximum number of fd we can monitor. - * - * For epoll(7), /proc/sys/fs/epoll/max_user_watches (since Linux 2.6.28) will - * be used for the maximum size of the poll set. If this interface is not - * available, according to the manpage, the max_user_watches value is 1/25 (4%) - * of the available low memory divided by the registration cost in bytes which - * is 90 bytes on a 32-bit kernel and 160 bytes on a 64-bit kernel. - * - * For poll(2), the max fds must not exceed RLIMIT_NOFILE given by - * getrlimit(2). - */ -extern unsigned int poll_max_size; - /* * Used by lttng_poll_clean to free the events structure in a lttng_poll_event. */