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
共 105 篇文章。
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
marcel has finally imported gdb into FreeBSD-base. Now we can debug kernels again.
David O’Brien has just imported binutils 2.15 snapshot into FreeBSD src repository. What’s more, he stated that he will do gdb 6.x import soon. This will drastically improve the debug and development environment in FreeBSD.
It seems (still can’t access to the Internet right now, however, HTTP and cvsup works) that OpenBSD has imported gdb 6.1 into their source tree. I am not sure whether they did some hacks to the source repository (from cvsup result, there is not), but the result is really strange. It seems that the last import was done by using a “cvs add -rCYGNUS” and not “cvs import”…
I hope FreeBSD can import a newer gdb ASAP, as well as gcc 3.4 series.
To quote Matthew Dillon:
| |
发现VC上面偶尔会用到的const_cast在gcc (c++)里面竟然不能用,郁闷,遂采用C-style cast,但我希望修正这个问题。
A Dell Latitude D600 computer with Windows 2003 Server Enterprise Edition is experiencing problem when installing Windows Update from website. By downloading the hotfix, and trying to install it, it fails with “Data Error, 0x8000007d”
What’are LORs? To quote Robert Watson:
“These warnings are generated by Witness, a run-time lock diagnostic system found in FreeBSD 5-CURRENT kernels (but removed in releases). You can read more about Witness in the WITNESS(4) man page, which talks about its capabilities. Among other things, Witness performs run-time lock order verification using a combination of hard coded lock orders, and run-time detected lock orders, and generates console warnings when lock orders are violated. The intent of this is to detect the potential for deadlocks due to lock order violations; it’s worth observing that Witness is actually slightly conservative, and so it’s possible to get false positives. In the event that Witness is accurately reporting a lock order problem, it’s basically saying “If you were unlucky, a deadlock would have happened here”. There are a couple of “well known” false positives, which we need to do a better job of documenting to prevent spurious reports. The non-well-known ones typically correspond to bugs in newly added locking, as lock order reversals usually get fixed pretty quickly because Witness is busy generating warnings :-).”
I’m going on to track down the Pentium 4 HTT issue of FreeBSD. Currently I have setup a tinderbox (hengdm’s workstation because he is not here :-P and it’s the only box which supports HTT) and compiled a SMP kernel on it.
Today I got in a rush to implement a XML+XSL -> HTML translation at server side. I looked at MSDN and found that there is a simple implementation which can fit my requirements, the code is the following (for some reasons I have to use ASP and not .net technologies):