Create 'k' versions of the kernel malloc API.