improve kthread scheduler