Hide vm_phys_set_pool, since it is not called outside of vm_phys.c.
Define simple functions for alignment and boundary checks and use them everywhere instead of having slightly different implementations scattered about. Define them in vm_page.h and use them where possible where vm_page.h is included.