Bug with sched_lend_prio?
I have enabled PREEMPTION, FULL_PREEMPTION with ULE. Now I get strange result here:
- propagate_priority gets a TD_ON_LOCK(td)
- It tries to panic(), unfortunatelly, ts->ts_lockobj here is NULL
- A fatal trap 12 happens.
It seems that ts->ts_lockobj was touched by sched_lend_prio, for unknown reasons. Maybe there is some lock releases?
参与评论老了一刚 :'(
调试能力明显下降了,本来早就应该想到的,结果整整花了一个钟头才找到故障点,老了,明明看到堆栈毁了的居然还去相信调试器:(
参与评论Charlie died due to strange kernel bug, investigating
Finally I caught the kernel panic caused by some strange bugs found in thread scheduling. Investigating the crashdump.
参与评论How to represent some type inherted from other template, in a C++ template class?
It’s not quite easy to represent a type that is found in base “template class”. Consider the following code:
template <class Key,class T> class CMyClass: public map<Key,T> { public: void lookup(Key x) { map<Key,T>::iterator iter; iter = find(x); } };
阅读全文…
男人25岁前的忠告[转载]
From: Monkeyfu’s blog
1. 男人是社会的主体,不管你信或不信。所以男人应该有种责任感。
2. 25岁之前,请记得,爱情通常是假的,或者不是你所想象的那样纯
洁和永远如果你过了25岁,那么你应该懂得这个道理。
狮子,永远不言败
As title. 加油~~
另外这家伙还跟我说让我也赶快找个老婆 :S 谁知道呢,随缘吧……
参与评论Proposed new RELENG_5_3 errata candidate
The following change is considered as a new errata candadite from my view:
peter 2005-04-18 21:36:17 UTC FreeBSD src repository
Modified files: (Branch: RELENG_5_4)
sys/i386/i386 genassym.c vm86bios.s
sys/i386/include pcb.h
Log:
MFC: stop i386_vm86() from either panicing or trashing random pages.
This can improve stability, however we can not easily prove that it is producable :-) So I have turned that to re@.
参与评论流水账
最近几天网上不怎么太平。
白天办了保险的最后一道手续,当然希望还是不要用的好,但至少哪天自己有什么事情的话,以后还能有人能照顾爹妈养老……:(
下午终于完成了一个想了很久但没做的技术上的事情,一直折腾到晚上9点多,回家。
给一个孩子捐了点钱,不算多。不过发现学校的所谓主流媒体对号召捐款的事情只字没提,汗……这事儿要不是听liukang说我一点都不知道呢。
开始听一个研究生说这事儿公费医疗能报,所以不捐,觉得那个人很冷漠;后来听一个大学同学分析说那个人家里超生,而且这个病没什么办法治疗,我骂了一句,靠,到时候你得了病也别找我们。
阅读全文…