[kswitch] add concurrency support