summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
AgeCommit message (Expand)Author
2016-06-19Remove the lockmgr() API. It is only used by filesystems, where it is aMartin Natano
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13KERNEL_ASSERT_LOCKED(9): Assertion for kernel lock (Rev. 3)Masao Uebayashi
2014-07-09Teach rw_status() and rrw_status() to return LK_EXCLOTHER if it's writePhilip Guenther
2014-01-21bzero -> memsetTed Unangst
2013-05-06restore original gangster lockstatus return values for compatTed Unangst
2013-05-01a few tweaks noticed by jsingTed Unangst
2013-05-01exorcise lockmgr. the api remains, but is now backed by recursive rwlocks.Ted Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2011-08-28lockmgr() wants to use a different address for the wchan when drainingPhilip Guenthe
2011-07-06Clean up after P_BIGLOCK removal.Artur Grabowski
2011-07-06Stop using the P_BIGLOCK flag to figure out when we should release theArtur Grabowski
2010-04-26cut down simple locks (so simple that they don't even lock) to the pointTheo de Raadt
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-03-25ntfs was the last user, LK_SLEEFAIL can die now.Owain Ainsworth
2009-01-15Surround WEHOLDIT() macro with braces to make it more safe.Alexander Yurchenko
2007-11-26Remove some dead code that is confusing my greps.Artur Grabowski
2007-05-31remove p_lock from struct proc; unused debug goo for lockmgr,Thordur I. Bjornsson
2007-05-11Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@Pedro Martelletto
2007-05-08lockmgr_printinfo() is only called from #ifdef DIAGNOSTIC positions, so #ifde...Theo de Raadt
2007-04-12Remove the lk_interlock from struct lock; Also remove the LK_INTERLOCKThordur I. Bjornsson
2007-04-11lockmgr keeps losing code, call 911!Miod Vallat
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
2007-02-03Remove unused functionality from lockmgr():Miod Vallat
2006-01-03remove duplicate comment;Jason McIntyre
2005-11-28ansi/deregister.Jonathan Gray
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-11-01additional DIAGNOSTIC, checking for proc in lockmgr when requiredmarius eriksen
2004-06-13debranch SMP, have funNiklas Hallqvist
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-12Detect the case where we LK_RELEASE a lock when noone is holding it.Artur Grabowski
2002-03-17Add a DIAGNOSTIC check for when both LK_CANRECURSE andArtur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-04Add declaration of "state" to _simple_lock_assert(). Since it isTodd C. Miller
2001-11-07new flag to lockmgr. LK_RECURSEFAIL - even if the lock can recurse fail.Artur Grabowski
1999-07-09rename SIMPLELOCK_DEBUG to LOCKDEBUGArtur Grabowski
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-28simple debugging for simple locksArtur Grabowski
1998-11-10put text after endif into commentsArtur Grabowski
1997-11-07$OpenBSD$Niklas Hallqvist
1997-11-06Fixes so that it compiles with #ifdef DEBUGConstantine Sapuntzakis
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis