added more generic kalloc1k() and kfree1k() to replace allocate_page_table().