summaryrefslogtreecommitdiff
path: root/sys/kern/subr_pool.c
AgeCommit message (Expand)Author
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-01-20Shifting signed integers left by 31 is undefined behavior in C.Alexander Bluhm
2021-06-15factor out nsecuptime and getnsecuptime.David Gwynne
2021-03-10spellingJonathan Gray
2021-01-06Add dt(4) TRACEPOINTs for pool_get() and pool_put(), this is simmilar to theClaudio Jeker
2021-01-02pool(9): remove tickscheloha
2020-01-24pool(9): replace custom TAILQ concatenation loops with TAILQ_CONCAT(3)cheloha
2020-01-23pool(9): pl_sleep(): drop unused timeout argumentcheloha
2019-07-19After the kernel has reached the sysclt kern.maxclusters limit,Alexander Bluhm
2019-04-23Remove file name and line number output from witness(4)Visa Hankala
2019-02-10revert revert revert. there are many other archs that use custom allocs.Ted Unangst
2019-02-10if waitok flag is set, have the interrupt multipage allocator redirectTed Unangst
2019-02-10make it possible to reduce kmem pressure by letting some pools use a moreTed Unangst
2018-06-08Constipate all the struct lock_type's so they go into .rodataPhilip Guenther
2018-02-06slightly randomize the order that new pages populate their item lists in.David Gwynne
2018-01-18While booting it does not make sense to wait for memory, there isAlexander Bluhm
2017-08-13New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks insteadPhilip Guenther
2017-07-12Compute the level of contention only once.Visa Hankala
2017-07-12When there is no contention on a pool cache lock, lower the numberVisa Hankala
2017-06-23set the alignment of the per cpu cache structures to CACHELINESIZE.David Gwynne
2017-06-23change the semantic for calculating when to grow the size of a cache list.David Gwynne
2017-06-19dynamically scale the size of the per cpu cache lists.David Gwynne
2017-06-16add garbage collection of unused lists percpu cached items.David Gwynne
2017-06-16split returning an item to the pool pages out of pool_put as pool_do_put.David Gwynne
2017-06-15report contention on caches global data to userland.David Gwynne
2017-06-15white space tweaks. no functional change.David Gwynne
2017-06-15implement the backend of the sysctls that report pool cache info.David Gwynne
2017-06-13when enabling cpu caches, check the item size against the right thingDavid Gwynne
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2017-02-20revert 1.206 because it allows deadlocks.David Gwynne
2017-02-08the splvm() in pool_gc_pages is unecessary now.David Gwynne
2017-01-24Force a context switch for every pool_get(9) with the PR_WAITOK flagMartin Pieuchot
2016-11-21let pool page allocators advertise what sizes they can provide.David Gwynne
2016-11-07rename some types and functions to make the code easier to read.David Gwynne
2016-11-02poison the TAILQ_ENTRY in items in the per cpu pool cache.David Gwynne
2016-11-02add poisoning of items on the per cpu caches.David Gwynne
2016-11-02use a TAILQ to maintain the list of item lists used by the percpu code.David Gwynne
2016-11-02add per cpu caches for free pool items.David Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-15move pools to using the subr_tree version of rb treesDavid Gwynne
2016-09-05revert moving pools from tree.h to subr_tree.c rb trees.David Gwynne
2016-09-05move pool red-black trees from tree.h code to subr_tree.c codeDavid Gwynne
2016-01-15add a "show socket" command to ddbDavid Gwynne
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