adjust kernel switch