Fix missing kmem_asprintf, remove preemtive calls, misc