libcoprthr: dev put back some of kernel imp code temporarily