Update kernel memory functions patch