summaryrefslogtreecommitdiff
path: root/lib/libstand/zalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* The zalloc pool's size calculation breaks if sbrk() does not returnMatthew Dillon2002-12-191-3/+3
| | | | | | | | | contiguous chunks of memory. It happens to do so in the bootstrap code, but not necessarily in other places. MFC after: 7 days Notes: svn path=/head/; revision=108108
* Add __FBSDID()s to libstandMatthew Dillon2001-09-301-2/+3
| | | | Notes: svn path=/head/; revision=84221
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Prune unused zalloc components as recommended by Matt Dillon. Extra debuggingMike Smith1998-10-011-311/+21
| | | | | | | code is still enabled (it's not very expensive). Notes: svn path=/head/; revision=39863
* * Enable old UFS compatibility code for booting from Digital Unix formattedDoug Rabson1998-09-261-2/+2
| | | | | | | | | | disks. * Fix a whole raft of warnings, printf and otherwise. * Make zalloc work for alpha (just a case of using the right typedef). * Add some (disabled) malloc debug printing to stand.h. Notes: svn path=/head/; revision=39672
* Fixed setting of mp_End in zextendPool(). A case was missing and mp_SizeMatthew Dillon1998-09-261-2/+3
| | | | | | | no longer reflects the mp_End - mp_Base equivalent. Notes: svn path=/head/; revision=39666
* Replace the old and extremely icky Mach/NetBSD allocator with a similarlyMike Smith1998-09-261-0/+591
compact and much better one donated by Matt Dillon. Implement a simple sbrk() which uses the existing setheap() api. Remove the custom allocator from the UFS code. It wasn't working quite right, and it shouldn't be needed with the new allocator. Fix a serious problem with changing the value of already-existent environment variables. Don't attempt to modify the supposedly-const argument to putenv() Fix an off-by-one sizing error in the zipfs code detected by the new allocator. Submitted by: zmalloc from Matt Dillon <dillon@backplane.com> Notes: svn path=/head/; revision=39665