[問題] 排程器deshedule正在等待lock的thread

作者: dces4212 (flawless)   2021-10-22 13:52:33
各位好,
最近在網路上[1][2]看到説排程器可以deschedule正在等待user-level lock的thread,
請問有人知道kernel是如何知道thread目前是blocking在user-level lock的等待上?
謝謝各位!
[1] https://perfetto.dev/docs/data-sources/cpu-scheduling
[2] https://netdevconf.info/0x15/papers/25/ghOSt.pdf
(「User-level threading is not enough」這小節)

Links booklink

Contact Us: admin [ a t ] ucptt.com