summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
Commit message (Expand)AuthorAgeFilesLines
* Add init_param3() to subr_param. This function is calledMike Silbersack2003-07-111-0/+5
* Don't overflow when calculating vm_kmem_size. This fixes kmem_mapPaul Saab2003-06-111-4/+4
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3
* Don't pass NULL pointer to memset if we are compiled with DIAGNOSTICPoul-Henning Kamp2003-05-121-4/+3
* Add two KASSERTS which trigger if free(9) would drag the "memuse" statisticPoul-Henning Kamp2003-05-051-0/+6
* Update the "last malloc failure timestamp" also for simulatedPoul-Henning Kamp2003-04-251-0/+1
* Permit debug.malloc.failure_rate to be specified using a tunable soRobert Watson2003-03-261-0/+1
* Add a new kernel option, MALLOC_MAKE_FAILURES, which compilesRobert Watson2003-03-261-0/+26
* PHCC[1]:Poul-Henning Kamp2003-03-101-2/+2
* Make malloc and mbuf allocation mode flags nonoverlapping.Poul-Henning Kamp2003-03-101-1/+18
* o Allow "buckets" in mb_alloc to be differently sized (according toBosko Milekic2003-02-201-2/+1
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-4/+4
* Under #ifdef DIAGNOSTIC, fill malloc(9) allocations which do not havePoul-Henning Kamp2003-02-011-0/+8
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-4/+4
* Introduce malloc_last_fail() which returns the number of seconds sincePoul-Henning Kamp2002-11-011-0/+16
* - Split UMA_ZFLAG_OFFPAGE into UMA_ZFLAG_OFFPAGE and UMA_ZFLAG_HASH.Jeff Roberson2002-09-181-33/+9
* - Replace the bandaid introduced in revision 1.110 withRobert Drehmel2002-05-311-1/+3
* Add a bandaid so that sysctl kern.malloc works on sparc64.Jake Burkholder2002-05-201-1/+1
* Fix the td_intr_nesting_level check to work ok if a flag like M_ZERO isJohn Baldwin2002-05-201-3/+1
* Hide a pointer to the malloc_type bucket at the end of the freed memory. IfJeff Roberson2002-05-021-1/+19
* malloc/free(9) no longer require Giant. Use the malloc_mtx to protect theJeff Roberson2002-05-021-1/+21
* Remove the temporary alignment check in free().Jeff Roberson2002-05-021-6/+0
* Convert longs to u_longs in stats. This will hold off wrap arounds for aJeff Roberson2002-04-301-1/+1
* Add a new UMA debugging facility. This will overwrite freed memory withJeff Roberson2002-04-301-2/+8
* Move the implementation of M_ZERO into UMA so that it can be passed toJeff Roberson2002-04-301-3/+0
* Re-add the 16384 bucket also.Robert Watson2002-04-291-0/+1
* Revert a portion of kern_malloc.c:1.99, which (in addition to addingRobert Watson2002-04-291-1/+3
* Add a basic sanity check on pointers passed to free(9).Poul-Henning Kamp2002-04-231-0/+10
* Finish adding support code for sysctl kern.mprof. This dumps some mallocJeff Roberson2002-04-151-11/+68
* Remove malloc_type's ks_limit.Jeff Roberson2002-04-151-84/+135
* Change callers of mtx_init() to pass in an appropriate lock type name. InJohn Baldwin2002-04-041-1/+1
* Remove __P.Alfred Perlstein2002-03-191-1/+1
* This is the first part of the new kernel memory allocator. This replacesJeff Roberson2002-03-191-299/+122
* Add realloc() and reallocf(), and make free(NULL, ...) acceptable.Archie Cobbs2002-03-131-0/+74
* KSE Milestone 2Julian Elischer2001-09-121-1/+1
* - Remove asleep(), await(), and M_ASLEEP.John Baldwin2001-08-101-9/+0
* Rename mb_init() mbuf subsystem initialization routine to mbuf_init(), inBosko Milekic2001-08-031-1/+1
* Remove some code that appears to have endian problems with INVARIANTS.Jake Burkholder2001-08-031-5/+0
* Introduce numerous SMP friendly changes to the mbuf allocator. Namely,Bosko Milekic2001-06-221-1/+8
* "Fix" the previous initial attempt at fixing TUNABLE_INT(). This timePeter Wemm2001-06-081-1/+1
* Back out part of my previous commit. This was a last minute changePeter Wemm2001-06-071-1/+1
* Make the TUNABLE_*() macros look and behave more consistantly like thePeter Wemm2001-06-061-7/+6
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inMark Murray2001-05-011-1/+1
* Fix inconsistency in setup of kernel_map: we need to make sure thatBosko Milekic2001-04-181-2/+2
* Change and clean the mutex lock interface.Bosko Milekic2001-02-091-12/+12
* Let M_PANIC go back to the private tree as its intention isn't understood wellBoris Popov2001-01-311-6/+2
* Add M_PANIC flag to the list of available flags passed to malloc().Boris Popov2001-01-291-2/+6
* p->p_intr_nesting_level is MI now and initialized to 0 in kern_fork.c,Peter Wemm2001-01-271-1/+1
* Don't grab Giant when calling kmem_alloc/kmem_free as this is justJohn Baldwin2001-01-241-4/+0
* Make intr_nesting_level per-process, rather than per-cpu. SetupJake Burkholder2001-01-211-1/+2