Adjust the size of kernel partition.