Please enable JavaScript.
Coggle requires JavaScript to display documents.
kernel coroutine - Coggle Diagram
kernel coroutine
basics
kco_task
primitives
kco_task_run()
kco_task_blocking()
executor
big things
stack shared
partial blocking has to depend on previous stack
struct task_struct *
can't be changed
many refers ->task_owner
handle off doesn't change task_struct pointer
locks
lock crossing kco suspend()
lock held when returning to userspace
policy
for io-uring case
io_submit_sqes() run via kco
io-wq is replaced with kco for the invovled request
need executor to run kco tasks
ideas
handoff based kco
io-wq thread is treated as the executor