summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
AgeCommit message (Expand)Author
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2012-12-24Fix compilation with POOL_DEBUG but !DDBPhilip Guenthe
2011-11-23block interrupts while pool_reclaim_all is grubbing around in every poolsDavid Gwynne
2011-09-23touching pr_nput and pr_nget outside the lock might be racy since ++ and --David Gwynne
2011-09-23ph = pool_get(&phpool, PR_NOWAIT) can return NULL, so dont unconditionallyDavid Gwynne
2011-07-06remove the predict_whatever stuffs. ok deraadt dlg henningTed Unangst
2011-07-06move a few accounting adjustments closer to removing the page, just to be safe.Ted Unangst
2011-07-05Remove a broken optimization found by the new pool_chk code. ItTed Unangst
2011-07-05when all you have is a hammer, make it a big one. add more checks to pool_chkTed Unangst
2011-04-18Put back the change of pool and malloc into the new km_alloc(9) api.Artur Grabowski
2011-04-06Backout the uvm_km_getpage -> km_alloc conversion. Weird things are happeningArtur Grabowski
2011-04-05 - Change pool constraints to use kmem_pa_mode instead of uvm_constraint_rangeArtur Grabowski
2011-04-04sysctl kern.pool_debug=0 will disable POOL_DEBUG on the fly (still defaultsTheo de Raadt
2011-04-03Helper functions for suspend.Ariane van der Steldt
2010-11-03pool_sethardlimit should not imply pool_sethiwat; figured out with claudioMike Belopuhov
2010-09-26unify some pool and malloc flag values. the important bit is that all flagsTed Unangst
2010-09-21Add assertwaitok(9) to declare code paths that assume they can sleep.Matthew Dempsky
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
2010-07-02add an align argument to uvm_km_kmemalloc_pla.Artur Grabowski
2010-06-29Add a no_constraint uvm_constraint_range; use it in the pool code.Thordur I. Bjornsson
2010-06-27uvm constraints. Add two mandatory MD symbols, uvm_md_constraintsThordur I. Bjornsson
2010-06-17aligment -> alignmentMiod Vallat
2010-01-16When allocating from the item header pool, we can't sleep, as we may be holdi...Ted Unangst
2009-09-05sync comment to reality, off-page page headers go intoThordur I. Bjornsson
2009-08-26add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUGThordur I. Bjornsson
2009-08-13add a show all vnodes command, use dlg's nice pool_walk() to accomplishThordur I. Bjornsson
2009-08-09Use an RB tree instead of a SPLAY tree for the page headers tree.Thordur I. Bjornsson
2009-07-30We enable POOL_DEBUG (except in a release)Theo de Raadt
2009-06-24turn off POOL_DEBUG as we go into release; pointed out by mpfTheo de Raadt
2009-06-12rework pool_get() a bit so that if you call if with a constructor setOwain Ainsworth
2009-06-04POOL_DEBUG and DIAGNOSTIC should be better friendsTheo de Raadt
2009-06-04the POOL_DEBUG checks needed to be more friendly with DIAGNOSTICTheo de Raadt
2009-06-04enable POOL_DEBUG again just for the hackathon.Owain Ainsworth
2009-05-31Move splassert checks from pool_do_get to pool_get(). Since the formerMiod Vallat
2009-04-22initialise the constructor and destructor function pointers to NULLDavid Gwynne
2009-02-17ensure all pi_magic checks are inside DIAGNOSTICTheo de Raadt
2009-02-16at tedu's request, bring back the basic single "first word" PI_MAGIC checkTheo de Raadt
2009-02-16Disable pool debug stuff for the release (it has a performance hit, butTheo de Raadt
2008-12-23i got emptypages and fullpages mixed up in pool_walk. this now shows itemsDavid Gwynne
2008-12-23add pool_walk as debug code.David Gwynne
2008-12-23record the offset into each pool page that item allocations actually beginDavid Gwynne
2008-12-04Put back the support for pools > PAGE_SIZE. This time the compare functionArtur Grabowski
2008-11-25Back out the large page pools for now. The compare function isArtur Grabowski
2008-11-25Make sure that equal elements always compare equal. Logic error spottedArtur Grabowski
2008-11-24Protect kmem_map allocations with splvm.Artur Grabowski
2008-11-24Allow allocations larger than PAGE_SIZE from pools.Artur Grabowski
2008-11-22Do deadbeef-style protection in pools too, by default, even though it itTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt