changing from kmalloc to kmem_cache API