any userspace that relies on PAGE_SIZE is considered broken since long, as it is quite ambiguous on ppc for example. see getpagesize(2) or better sysconf(3) PAGE_MASK is obtained then by pm = ~(sysconf(_SC_PAGESIZE) - 1); -- maks