Apparently 851 is not the freebsd magic number for hw.availpages, its 841.  This makes the code go down this path finally, AND CORE DUMP.