pmcmem.c to kernel codestyle