[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Depending on kernel >= 2.6



> I am preparing a package (that might not see the light for still some
> months) for the Cherokee web server. Cherokee has two ways of working,
> one designed for most Unix-like systems, and one that uses features
> unique to Linux 2.6.x (epoll).

Why not just make cherokee select at run time, if epoll can be used or
not? It's not all that hard, and doesn't really have a performance cost
(see thttpd or thy - both of them decide at run time between
select/poll/epoll and kqueue (well, not the thy in debian, it's epoll
support is disabled due to brokenness, but the idea is the same))..

However, if you choose the multiple package solution, adding the info to
the package description and making the init script choke and scream
loudly when not running on a 2.6 kernel is the best you can do,
methinks.

-- 
Gergely Nagy



Reply to: