Cumbersome - rather:
if (!newhrm->sz || newhmr->sz & (TAGET_PAGE_SIZE-1))