delphij's Chaos

选择chaos这个词是因为~~实在很难找到一个更合适的词来形容这儿了……

04 Jul 2004

Why hell there is livelock in idlepoll?

I have a preliminary discussion with junsu and we are still confused with the idlepoll livelock issue.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_poll.c

With some specific configuration, enabling polling in idle loop would exhibit a strange livelock. CPU will soon be 100% consumed when there’s networking communication.

I have a preliminary patch against the issue. I will test it soon.