kernel crash because of the atomic ops