delphij's Chaos

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

26 Apr 2005

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?