Vegard, regarding the first crash. Would you please run your test with the following debugging patch and let me know its output? The apperance of " * [ pid ] comm (name), orig_cpu() ... " means we hit a problematic case (with Miao Xie's patch it shouldn't crash). I see that you have CONFIG_SCHED_DEBUG=y so I'm also interested in messages from sched_domain_debug() - "CPU# attaching ...". IOW, all the kernel messages appearing while a cpu is going down and up. TIA, -- Best regards, Dmitry Adamushko