summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
AgeCommit message (Expand)Author
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
2008-10-24yet again i prove unable to commit what i really wanted. spotted by deraadtTed Unangst
2008-10-23a better fix for the "uvm_km thread runs out of memory" problem.Ted Unangst
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-14oldnointr pool allocator is no longer used or necessary.Artur Grabowski
2008-05-16unsigned -> u_int and warnmess -> warnmsgThordur I. Bjornsson
2008-05-06Add a PR_ZERO flag for pools, to compliment the M_ZEROThordur I. Bjornsson
2007-12-11remove an overlooked simple_lock everybody likes to point out to me.Ted Unangst
2007-12-11release the pool mutex if we may sleep in the backendTed Unangst
2007-12-09big patch to simplify pool code.Ted Unangst
2007-08-16I don't really know what I was thinking when I wrote this. Not only does theArtur Grabowski
2007-05-28some remnants of the timestamping code i missedTed Unangst
2007-05-28remove time from pool header. it slows us down quite a bit, and it'sTed Unangst
2007-05-28add a pool_setipl function, which allows setting an appropriate iplTed Unangst
2007-04-23Clean up an obsolete allocator.Artur Grabowski
2007-04-12Allow machine-dependant overrides for the ``deadbeef'' sentinel values,Miod Vallat
2007-04-11Instead of managing pages for intrsafe maps in special objects (aka.Artur Grabowski
2006-11-17typos from bret lambert;Jason McIntyre
2006-05-20add show all pools command listing all pools as vmstat -m does; miod@ okMichael Shalayeff
2006-05-07remove drain hooks from pool.Ted Unangst
2004-07-29proper condition for freeing a page and fix a comment appropriately; art@ ted...Michael Shalayeff
2004-07-20ifdef DDB a few functions only used (or usable) from DDB.Artur Grabowski
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-02rearrange the allocators we provide for general use.Ted Unangst