summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2009-02-17ensure all pi_magic checks are inside DIAGNOSTICTheo de Raadt
2009-02-16at tedu's request, bring back the basic single "first word" PI_MAGIC checkTheo de Raadt
2009-02-16Disable pool debug stuff for the release (it has a performance hit, butTheo de Raadt
2009-02-13use nitems(); dunnoseriously@gmailTheo de Raadt
2009-02-10Sync with current MI tree.Alexander Yurchenko
2009-02-09Don't panic if m_copyback() is working on a M_READONLY() mbuf. The old versionClaudio Jeker
2009-02-09two more consistency checks for a disklabel, to prevent havoc laterOtto Moerbeek
2009-02-04Make m_copyback() a lot smarter. Make it use all of the last mbufClaudio Jeker
2009-01-29Remove KASSERT() that could trigger when an rthread in sigwait()Philip Guenthe
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
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
2009-01-24propagate the O_EXCL flag down to the file systems, by settingThordur I. Bjornsson
2009-01-21Pass the new pointer to sysctl_clockrate(), so that trying to change theMiod Vallat
2009-01-15Fix a memory leak in in the case where semget() is called with aOwain Ainsworth
2009-01-15Surround WEHOLDIT() macro with braces to make it more safe.Alexander Yurchenko
2009-01-14correct test when checking the default operation entry.Federico G. Schwindt
2009-01-13Change sbreserve() to return 0 on success, 1 on failure, as god intended.Bret Lambert
2009-01-12make compile with #define MSTS_DEBUG; ok mbalmer@Kevin Steves
2009-01-121) remove invalid comment since first field is not message typeKevin Steves
2009-01-12comment should be epoch not midnight; ok mbalmer@Kevin Steves
2009-01-11backout revision 1.109Owain Ainsworth
2009-01-09keep b_proc set to the proccess,Thordur I. Bjornsson
2009-01-04properly terminate fake argument list.Thordur I. Bjornsson
2009-01-01copyright_year++;Miod Vallat
2009-01-01use #define MAXFLDS vs. 4 here; ok mbalmer@Kevin Steves
2008-12-25don't need #include <sys/queue.h>; ok mbalmer@Kevin Steves
2008-12-25remove unused struct member; ok mbalmer@Kevin Steves
2008-12-25spelling in comments; ok mbalmer@Kevin Steves
2008-12-24EVFILT_WRITE filters should return the amount of space remaining in theMark Kettenis
2008-12-23i got emptypages and fullpages mixed up in pool_walk. this now shows itemsDavid Gwynne
2008-12-23add pool_walk as debug code.David Gwynne
2008-12-23record the offset into each pool page that item allocations actually beginDavid Gwynne
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-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
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-11a little bit of paranoiaTheo de Raadt
2008-12-04enable to large clusters again now that arts put the pool allocator forDavid Gwynne
2008-12-04Put back the support for pools > PAGE_SIZE. This time the compare functionArtur Grabowski
2008-12-03add vscsi(4), a virtual scsi controller that passes all scsi requests up toDavid Gwynne
2008-11-30clarify allocationTheo de Raadt
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