Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I've applied patch from ejabberd maillist and its works fine for a week now on my ejabberd server. http://developer.sipphone.com/ejabberd/erlang_epoll_patch/ btw, dependence on tk now depends on X flag.
Created an attachment (id=68603) [edit] new ebuild
Created an attachment (id=68605) [edit] epoll patch
I used your ebuild from Comment #1 and adjusted it to get the poll patch from distfiles, rather than in files/ to save space. I changed the file name to use MY_PV. Attached is my diff from 10.2.6 to the adjusted ebuild for 10.2.7. I tried it out, it seems to work fine. vapier, I can commit it to the tree if you consent. I have recomputed/checked the other patches we apply.
Created an attachment (id=70969) [edit] diff from 10.2.6 to (adjusted) 10.2.7
any chance we can make sure upstream erlang is aware of the epoll patch before we start using it ?
Created an attachment (id=70981) [edit] erlang-10.2.6-10.2.7.patch if you want to test & commit this patch, that'd be cool
On second thoughts, perhaps we should apply the epoll patch via a local USE flag?
Created an attachment (id=71067) [edit] diff erlang-10.2.{6,7}.ebuild Support for local USE flag, "epoll".
i dont think we should bother with that ... a quick glance at the code shows that it should fall back to other poll methods if epoll fails to work
Commit Attachement #70981 to portage. Thanks for the bug report and epoll information.