]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kboot: use 128MB for the heap area, ZFS needs a lot of memory
authorWarner Losh <imp@FreeBSD.org>
Fri, 23 Dec 2022 18:26:32 +0000 (11:26 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 24 Jan 2023 21:49:45 +0000 (14:49 -0700)
commite474c385776ed4c1a8a782b8b47db285a288a4ae
treed7fab9ea5b9f9159885c856c5f570c99dcaa26da
parentdd0f00db08e08aedab330fcc54fd6994afe17657
kboot: use 128MB for the heap area, ZFS needs a lot of memory

ZFS uses a lot of memory. The old minimal allocations won't work when
ZFS support is added. Most environments this will be used (or will
liekly be used) have >> 256MB, 128MB should be safe everywhere and allow
examination of a fair number of ZFS pools to boot from.

Sponsored by: Netflix

(cherry picked from commit 4dd3e76881ad025170b0cfb5455680b3c89fe263)
stand/kboot/main.c