summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2010-01-12Move initialization of the MCLGETI ticker to mbinit(), instead of ifinit()Theo de Raadt
2009-09-13M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly dealKenneth R Westerback
2009-08-12just bzero the pkthdr instead of setting each and every member of thatHenning Brauer
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne
2009-08-11optimise m_clget so that it holds spl for even lessTheo de Raadt
2009-08-11Must move the splx() lower in m_clget() so that it protects atomic accessTheo de Raadt
2009-08-09remove the ancient MCFail / MPFail debugging technique; ok claudioTheo de Raadt
2009-08-09use m_free_unlocked() in m_pullup() to avoid iterative splnet/splx downTheo de Raadt
2009-08-09make mbuf tags suck a bit less, performance wise.Henning Brauer
2009-08-09create a m_free_unlocked which is now used by both m_freem() and m_free().Theo de Raadt
2009-08-09do not clear a field before we pool_put it into oblivion; ok henningTheo de Raadt
2009-08-09MCLGETI() will now allocate a mbuf header if it is not provided, thusTheo de Raadt
2009-06-22sync m_inithdr() with m_gethdr() after theThordur I. Bjornsson
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-06-02Move M_PREPEND macro code to be entirely into m_prepend the function;Bret Lambert
2009-03-02the packet length passed to m_clget is a u_int, print it with %u not %d inDavid Gwynne
2009-02-09Don't panic if m_copyback() is working on a M_READONLY() mbuf. The old versionClaudio Jeker
2009-02-04Make m_copyback() a lot smarter. Make it use all of the last mbufClaudio Jeker
2009-01-27make drivers tell the mclgeti allocator what their maximum ring size isDavid Gwynne
2009-01-26Remove unneeded brackets that where left over from when these were macros.Claudio Jeker
2008-12-23The splvm() protection is way outdated, only splnet is needed to protectTheo de Raadt
2008-12-22Doh. Correct address in bcopy -- m->m_data not &m->m_data -- this should fixClaudio Jeker
2008-12-20protect mbstat with spl; ok claudio mikebTheo de Raadt
2008-12-14Make sure the low water mark for cluster pools isn't 0 such that networkMark Kettenis
2008-12-13note to everyone: nitems(pointer) is 0, not what you wantTheo de Raadt
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