summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
AgeCommit message (Expand)Author
2015-09-11Now that interrupt-safe uvm maps are porperly locked, the interrupt-safeMark Kettenis
2015-09-08Give the pool page allocator backends more sensible names. We now have:Mark Kettenis
2015-09-08Now that msleep(9) no longer requires the kernel lock (as long as PCATCHMark Kettenis
2015-09-06We no longer need to grab the kernel lock for allocating and freeing pagesMark Kettenis
2015-09-01Push down the KERNEL_LOCK/KERNEL_UNLOCK calls into the back-end allocatorMark Kettenis
2015-08-21re-enable *8.David Gwynne
2015-07-23remove the POOL_NEEDS_CATCHUP macro, it isnt used.David Gwynne
2015-07-20Move `ticks' declaration to sys/kernel.h.Masao Uebayashi
2015-04-21disable *8 again for now. incoherent archs arent having much fun with it.David Gwynne
2015-04-07nothing uses pool_sleep, so get rid of itDavid Gwynne
2015-04-07introduce a garbage collector for (very) idle pool pages.David Gwynne
2015-03-20reintroduce r1.173:David Gwynne
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10reintroduce page item cache colouring.David Gwynne
2015-01-22pool_chk_page iterates over a pages free item lists and checks thatDavid Gwynne
2015-01-19white space fixes. no binary change.David Gwynne
2015-01-05splassert on some archs (or just sparc64) check that you're not inDavid Gwynne
2015-01-04back out r1.173, aka the "* 8" diff. it tickles a problem on someDavid Gwynne
2015-01-04avoid the use of an uninitialised variable in one of the codepaths inJonathan Gray
2014-12-22remove some unused fields from pool. ok dlgTed Unangst
2014-12-22if we're able to use large page allocators, try and place at leastDavid Gwynne
2014-12-19timestamp empty pages, and only free them if theyve been idle for at leastDavid Gwynne
2014-12-19the last commit changed LIST_INSERT_HEAD to TAILQ_INSERT_TAIL cos theDavid Gwynne
2014-12-19replace the page LISTS with page TAILQs. this will let me pull pages fromDavid Gwynne
2014-12-04init the mutex used in sleeping pool_gets with the right ipl if theDavid Gwynne
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-15hoist the slowdown handling up to the pool_do_get callers. this letsDavid Gwynne
2014-11-14move the slowdown back up. it needs to take place after the allocated pageTed Unangst
2014-11-10Grab the pool mutex in sysctl_dopool(), but only for pools for whichMark Kettenis
2014-11-01remove color support. discussed with dlg and mikebTed Unangst
2014-10-13take the pool_item pi_magic touching out from under #ifdef DIAGNOSTIC.David Gwynne
2014-10-10massage the pool item header and pool item magic words.David Gwynne
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