summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/label.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2006-03-24 22:13:49 +0000
committerjasone <jasone@FreeBSD.org>2006-03-24 22:13:49 +0000
commit443b2d32bc15ddd7644981020a3ffc674e2ed4d8 (patch)
tree8b23a76b1be4bc360f218e4c81134c83eee2ceaa /usr.sbin/sysinstall/label.c
parentc090b1c4837d2f8bf5b2e25317454bf6c054b1bd (diff)
downloadFreeBSD-src-443b2d32bc15ddd7644981020a3ffc674e2ed4d8.zip
FreeBSD-src-443b2d32bc15ddd7644981020a3ffc674e2ed4d8.tar.gz
Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), and
determine its value at run time according to other relevant values. This avoids the creation of runs that are incompletely utilized, as long as pagesize isn't too large (>32kB, given the current RUN_MIN_REGS_2POW setting). Increase the size of several structure bitfields in arena_run_t in order to avoid integer overflow in the case that a run's header does not overlap with the space that is usable as application allocation regions. Given the tiny_min_2pow change, this fix has no additional impact unless pagesize is >32kB. Reported by: kris
Diffstat (limited to 'usr.sbin/sysinstall/label.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud