On Fri, Mar 27, 2009 at 09:14:40AM +1100, Simon Burge wrote: > +#ifdef __NetBSD__ > +#include <uvm/uvm.h> > +#define btop(x) ((x) * PAGE_SIZE) > [ ... ] > > Isn't that working out "pages to bytes" and not "bytes to pages" ? > > Unless btop() means something non-obvious in Solaris land...
Probably, please fix ;-)