[问题] 排程器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