should this be better rounded by kbitsperbitmapword  maybe roundup  roundup num bits  kbitsperbitmapword kbitsperbitmapword sizeof uintptr t kpagesize though it may not matter as kpagesize is a multiple of sizeof uintptr t  