On Tue, Nov 04, 2008 at 08:24:20PM +0000, Christos Zoulas wrote: > if (zeropage == NULL) > zeropage = malloc(PAGE_SIZE, M_TEMP, M_WAITOK|M_ZERO); ...and if you don't want to leak memory, you can assign zeropage with cas. Joerg