X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=622f5bde41d04e648507c1b3f03233c67c703cd6;hb=b9721d58e11da324367614bcffed97a190f951f8;hp=0b3cb324341a225ab6ab33c588a170e6d9cc23c4;hpb=e823731f81306f658a35695389414fdbfcd7fb45;p=lttng-tools.git 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. */