kernel branch swap