> + unsigned last_page = total / PAGE_SIZE;> +> + if (last_page * PAGE_SIZE == total)Not sure it matters much with modern compilers, but generallywe shit by PAGE_SHIFT instead of multiplying with or dividingby PAGE_SIZE.