各位好,
最近在網路上[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」這小節)