PATCH: increase heap size for (gpt)zfsboot

Matt Reimer mattjreimer at gmail.com
Tue Dec 8 00:01:04 UTC 2009


Enlarge the heap size for gptzfsboot and zfsboot. This is necessary so
the ZFS code has enough memory to handle decompression and error
recovery.

Before this patch the heap grew from the end of the (gpt)zfsboot code
and static data up to 640KB, possibly overrunning the stack. Now the
heap is located at 16MB-64MB.

Note that this requires machines with at least 64MB RAM, but this is
not likely to be a problem on any machine running ZFS.

Sponsored by: VPOP Technologies, Inc.

Matt Reimer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more-mem.patch
Type: application/octet-stream
Size: 798 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091208/6edf9cc9/more-mem.obj


More information about the freebsd-fs mailing list