Am 20.02.2019 um 03:42 schrieb waddlesplash:
58ed2965d036: kernel: Panic on attempts to block a pinned thread.Not sure if I follow this logic. When I pin a thread to a specific CPU, all I want to achieve is to have it run only on that specific CPU.
Preventing "normal" context switches caused by a time interrupt
is the primary reason for pinning threads. "thread_block" and friends,
however, cause an explicit context switch and will not return until
another thread unblocks us.
Calling these while a thread is pinned is thus undefined behavior,
and so we should just panic in the case anyone attempts to do so.