summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-04-14 01:56:25 +0000
committerjeff <jeff@FreeBSD.org>2002-04-14 01:56:25 +0000
commit5b62962da48e486dba5ac344985ba49156a2d7ba (patch)
tree14a5ee8ba40bd0f5a835fc07d495f1d3dc0ebaf2 /lib/libc
parentca0d3fbd5df04cdbd5d92cbf158ca4e831e3dab3 (diff)
downloadFreeBSD-src-5b62962da48e486dba5ac344985ba49156a2d7ba.zip
FreeBSD-src-5b62962da48e486dba5ac344985ba49156a2d7ba.tar.gz
Fix the calculation that determines uz_maxpages. It was off for large zones.
Fortunately we have no large zones with maximums specified yet, so it wasn't breaking anything. Implement blocking when a zone exceeds the maximum and M_WAITOK is specified. Previously this just failed like the old zone allocator did. The old zone allocator didn't support WAITOK/NOWAIT though so we should do what we advertise. While I was in there I cleaned up some more zalloc logic to further simplify that code path and reduce redundant code. This was needed to make the blocking work properly anyway.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud