[oi-dev] valgrind and epoll(5) illumos issue

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sun Apr 11 13:25:09 UTC 2021


On Sun, 11 Apr 2021, stes at PANDORA.BE wrote:
>
> However does OpenIndiana really have to ship /usr/include/sys/epoll.h ?
>
> The sys/epoll.h header file could be split from SUNWcs package,
> and provided in an optional header file package for epoll compatibility.
>
> There are some implications to shipping the header file sys/epoll.h by default.

Some software may require epoll.  Epoll seems to be more efficient 
than other Linux API alternatives given many open file descriptors. 
It is unfortunate that some software will enable use of a feature 
because its configure script detects that it exists.  Usually it is 
possible to force that a feature will not be used (e.g. by providing a 
cache value which says it is not available) when running a configure 
script.

The only real solution is to make sure that applications are using the 
most appropriate APIs under Illumos given their actual requirements.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt



More information about the oi-dev mailing list