Bug with sched_lend_prio?

• 本文约 48 字,阅读大致需要 1 分钟 | *nix and Win32 Kernel

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?