Jeff Roberson af7f9b97b6 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.
2002-04-14 01:56:25 +00:00
..
2002-04-12 15:49:30 +00:00
2002-04-13 22:34:16 +00:00
2002-04-13 22:34:16 +00:00
2002-04-12 06:01:49 +00:00
2002-04-12 06:10:37 +00:00
2002-04-11 09:45:41 +00:00
2002-04-13 22:34:16 +00:00