Some progress on context switch