kexec would shutdown the previous kernel as it starts the new one, and this is the tricky part, if the ram is in a state the new kernel does not "like" it will crash, kernel panic.