Remove memset and use kzalloc

Use kzalloc that is order of magnitude faster and saves .text compared with kcalloc