g2 kernel switch branch