summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2008-12-11export per-interface mbuf cluster pool use statistics out to userlandTheo de Raadt
2008-12-04enable to large clusters again now that arts put the pool allocator forDavid Gwynne
2008-11-29need splvm() around the call to m_extfree() in the defraggerTheo de Raadt
2008-11-26Doh, do not commit before compile. Found by sthen@Claudio Jeker
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-25backout large cluster allocators.David Gwynne
2008-11-25art says he doesnt suck anymore, so enable the really big clusterDavid Gwynne
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-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-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-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber
2008-09-28initialize the ether_vtag field like the rest of the packet headerChristian Weisgerber
2008-08-14Kill the _MCLDEREFERENCE() macro it was only used once and it should be onlyClaudio Jeker
2008-08-08plug an mbuf leak in m_pullup2(); If we fail to get a cluster for an mbuf,Thordur I. Bjornsson
2008-06-11store a pointer to the stack side state key in the mbuf packetHenning Brauer
2008-05-06Rather than clearing particularly dangerous flags when found, justKenneth R Westerback
2008-01-16Dont use PR_LIMITFAIL with PR_WAITOK when M_WAIT is passed withThordur I. Bjornsson
2007-11-27make the deceptively complicated leading and trailing space into functions.Ted Unangst
2007-09-26provide m_inithdr(), which takes an mbuf and gives an initialized M_PKTHDRHenning Brauer
2007-07-20Remove the MFREE() macro and replace it with a call to m_free().Claudio Jeker
2007-06-02Initialize pkthdr.rcvif.Artur Grabowski
2007-05-28set a hiwat mark for mbpool. we spend quite a bit of time bouncing pagesTed Unangst
2007-05-28double pf performance.Henning Brauer
2007-05-27Kill the nasty MGET, MGETHDR and MCLGET makros and replace them with normalClaudio Jeker
2007-03-15m_prepend() works only for sizes smaller than MHLEN.Claudio Jeker
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-11-29We don't use mb_map anymore since a long time already. Remove it.Miod Vallat
2006-10-11Remove unused variable and simplify m_copym0(). Diff from bret.lambert at gma...Marco Pfatschbacher
2006-07-14TypoPedro Martelletto
2006-05-07remove drain hooks from pool.Ted Unangst
2006-03-17rev 1.77Brad Smith
2006-03-05splimp -> splvmBrad Smith
2006-01-05ansi/deregisterJonathan Gray
2005-12-31Nuke unused variable 'space' found by lint. Eliminate some trailingKenneth R Westerback
2004-05-27change uvm_km_getpage to take waitok argument and sleep if appropriate.Ted Unangst
2004-05-23bad stuff escaped by accidentTed Unangst
2004-05-23according to fork1(9), retval is optional. make it so.Ted Unangst
2004-04-19introduce a new km_page allocator that gets pages from kernel_map usingTed Unangst
2004-04-17Don't forget to apply the M_CLUSTER flag when copying flags in m_pullup2().Ryan Thomas McBride
2004-04-01use NULL for ptrs. parts from Joris VinkTed Unangst
2004-01-28oh, i'll happily steal the commit. ok henning@, markus@, otto@ (iirc)Daniel Hartmeier
2003-08-12src argument to m_copyback() can be a const; itojun@ okMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-06-01uvm_km_suballoc passes the 'min' argument untouched to uvm_map. uvm_mapArtur Grabowski
2003-04-23Move m_copyback() to uipc_mbuf where it makes some kinda sense; ok dhartmeiJason Wright