summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2008-11-26Do a quick return if m->m_next is NULL in m_defrag() because there is nothingClaudio Jeker
2008-11-26only the pool_get() needs to be spl protected; ok claudio dlgTheo de Raadt
2008-11-25m_defrag() a mbuf chain defragmenter. It will collaps a mbuf chain into aClaudio Jeker
2008-11-25Punctuate comment for clarity, and keep tense consistent throughoutBret Lambert
2008-11-25Back out the large page pools for now. The compare function isArtur Grabowski
2008-11-25backout large cluster allocators.David Gwynne
2008-11-25art says he doesnt suck anymore, so enable the really big clusterDavid Gwynne
2008-11-25Make sure that equal elements always compare equal. Logic error spottedArtur Grabowski
2008-11-25Factor increases are not needed, +1 appears to work as well.Theo de Raadt
2008-11-25m_cluncount() needs to walk the mbuf chain to correctly uncount all clustersClaudio Jeker
2008-11-24Protect kmem_map allocations with splvm.Artur Grabowski
2008-11-24art isnt handling spls properly in the pool allocator backends for bigDavid Gwynne
2008-11-24enable the 8k, 9k, 12k, 16k, and 64k backend pools for the clusterDavid Gwynne
2008-11-24Allow allocations larger than PAGE_SIZE from pools.Artur Grabowski
2008-11-24queue tc randomness when we get it. the tc_init() ones are (might be)Theo de Raadt
2008-11-24move MCLPOOLS to if.h and force uipc_mbuf.c to get if.h, there is noTheo de Raadt
2008-11-24add several backend pools to allocate mbufs clusters of various sizes outDavid Gwynne
2008-11-22Do deadbeef-style protection in pools too, by default, even though it itTheo de Raadt
2008-11-22Move diagnostic assertions concerning the recycle process of buffersPedro Martelletto
2008-11-21Relax sanity check so any two-byte jmp followed by a NOP, or anyKenneth R Westerback
2008-11-21don't declare th0 extern before declaring it as static; makes gcc4 happyRobert Nagy
2008-11-11for ^T support, grab all the information from the process before goingTheo de Raadt
2008-11-11slightly optimized the ptrace stat allocation to only happen when needed.Ted Unangst
2008-11-11make sure that any messing we do with a process's directories happens atomica...Ted Unangst
2008-11-10Fix typo in comment, okay jmc@.Pedro Martelletto
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt
2008-11-09systrace activation happens in the middle of a rather sensitive piece ofTheo de Raadt
2008-11-08Use atop() and ptoa() in buf_free_pages() to make it consistent withPedro Martelletto
2008-11-06Some paranoia and deconfusion.Artur Grabowski
2008-11-06remove a really stupid comment. Duh, of course it can blockTheo de Raadt
2008-11-06oopsTheo de Raadt
2008-11-06panic if cpu_switchto() returns from a dead processTheo de Raadt
2008-11-03pre-allocate the ptrace_state we may need to tie to the new processTheo de Raadt
2008-11-01Grab a reference to the trace vnode of the process when traversing thePedro Martelletto
2008-11-01change vrele() to return an int. if it returns 0, it can gaurantee thatTheo de Raadt
2008-11-01change all callers of enterpgrp() to pre-allocate a pgrp or session ifTheo de Raadt
2008-10-31Do not assume that a pointer to another process will live over a set ofTheo de Raadt
2008-10-31Do not assume that a pointer to another process will live over a set ofTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-10-31checkdirs() walks allproc and calls sleeping functions if directories haveTheo de Raadt
2008-10-30reintroduce mutexes to workqs for locking.David Gwynne
2008-10-30Use msleep() in the reaper to make it not lose events. Based on discussionTheo de Raadt
2008-10-27when shutting workq threads down, dont try to take the big kernelDavid Gwynne
2008-10-24another oops.Ted Unangst
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-10-22Add timeout_add_msec(), for timeouts in milliseconds.Bret Lambert
2008-10-20The optimization done in 1.19 (and repaired in 1.20) results inTheo de Raadt