[PATCH 0/4] Fix k.alloc switched arguments