use WARN_ON_ONCE when kp_newthread is not called by mainthread