summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
AgeCommit message (Expand)Author
2014-09-28in pool_destroy, enter and leave mutex as necessary to satisfy assertions.Ted Unangst
2014-09-26fix the calculation of the number of items to prime the pool withDavid Gwynne
2014-09-23Only compile poison-related code if DIAGNOSTIC instead of if !SMALL_KERNEL,Miod Vallat
2014-09-22rework the pool code to make the locking more obvious (to me atDavid Gwynne
2014-09-17if userland asks for an unknown sysctl, return EOPNOTSUPP insteadDavid Gwynne
2014-09-16disable taking the mutex to read pool stats.David Gwynne
2014-09-16tweak panics so they use __func__ consistently.David Gwynne
2014-09-16deprecate PR_DEBUG and MALLOC_DEBUG in pools.David Gwynne
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-08change some (flags & PR_WAITOK) to ISSET(flags, PR_WAITOK)David Gwynne
2014-09-08deprecate the use of the PR_PHINPAGE flag by replacing it with a testDavid Gwynne
2014-09-05KASSERT that the page header pool will use in page headers.David Gwynne
2014-09-04rework how pools with large pages (>PAGE_SIZE) are implemented.David Gwynne
2014-08-27deprecate the "item offset" handling. nothing uses it, so we canDavid Gwynne
2014-08-20bring back r1.130:David Gwynne
2014-08-18external page headers use an RB tree to find the page headerDavid Gwynne
2014-08-12sigh. when returning ENOENT in the sysctl path, unlock on the way out.David Gwynne
2014-08-12i accidentally removed the check for whether the requested pool inDavid Gwynne
2014-08-12bring back r1.135:David Gwynne
2014-08-12bring back r1.134:David Gwynne
2014-08-12bring back r1.132. this is a bit different cos we're still using splvm toDavid Gwynne
2014-08-11bring back r1.132:David Gwynne
2014-08-11bring back r1.131:David Gwynne
2014-07-10drain some boolean_t poisonTed Unangst
2014-07-10hide the biglock thrashing under pool_debug so it can be turned offTed Unangst
2014-07-03Revert back to 1.129: pool_init() is called before rwlocks can bePhilip Guenther
2014-07-02matthew@ noticed i wasnt populating npages in the kinfo_pool sent toDavid Gwynne
2014-07-02inline is the new __inlineDavid Gwynne
2014-07-02use pool_count to report the number of pools to userland ratherDavid Gwynne
2014-07-02provide a pool_count global so we can figure out how many pools there areDavid Gwynne
2014-07-02take the pools mutex when copying stats out of it in the sysctlDavid Gwynne
2014-07-02add an explicit rwlock around the global state (the pool list and serialDavid Gwynne
2014-07-02info about pools is currently given to userland by copying eachDavid Gwynne
2014-05-19consistent use of uint32_t for poison valuesTed Unangst
2014-05-01with some random chance, swizzle the current page for the pool to avoidTed Unangst
2014-04-03if it's ok to wait, it must also be ok to give the kernel lock. do so.Ted Unangst
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
2013-11-05remove pool constructors and destructors. theyre called for everyDavid Gwynne
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-06-05blow up sooner rather than later for double pool_putTed Unangst
2013-05-31open up some races. if pool_debug == 2, force a yield() whenever waitok.Ted Unangst
2013-05-03switch the malloc and pool freelists to using xor simpleq.Ted Unangst
2013-04-17check that the pool we are about to init isn't already on the list inTed Unangst
2013-04-06make kernel compileTheo de Raadt
2013-04-06shuffle around some poison code, prototypes, values...Ted Unangst
2013-03-31replace pool debug magic with shared mem poison codeTed Unangst
2013-03-26simpleq is lighter weight and sufficient for pool's needs.Ted Unangst
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