Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unnecessary lockmgr() archaism that was costing too much in terms | 2005-11-19 | 1 | -3/+3 | ||
| | | | | | | of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||||
* | sched work by niklas and art backed out; causes panics | 2005-05-29 | 1 | -1/+69 | ||
| | ||||||
* | This patch is mortly art's work and was done *a year* ago. Art wants to thank | 2005-05-25 | 1 | -69/+1 | ||
| | | | | | | | | | | | | | | | | everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures. | |||||
* | additional DIAGNOSTIC, checking for proc in lockmgr when required | 2004-11-01 | 1 | -1/+5 | ||
| | | | | ok pedro@ tedu@ | |||||
* | debranch SMP, have fun | 2004-06-13 | 1 | -157/+890 | ||
| | ||||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | Detect the case where we LK_RELEASE a lock when noone is holding it. | 2002-07-12 | 1 | -2/+3 | ||
| | ||||||
* | Add a DIAGNOSTIC check for when both LK_CANRECURSE and | 2002-03-17 | 1 | -1/+8 | ||
| | | | | LK_RECURSEFAIL are set. | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -3/+3 | ||
| | ||||||
* | Add declaration of "state" to _simple_lock_assert(). Since it is | 2001-12-04 | 1 | -1/+2 | ||
| | | | | | an int this can safely be omitted but it is bad style to do so. Closes PR 2223. | |||||
* | new flag to lockmgr. LK_RECURSEFAIL - even if the lock can recurse fail. | 2001-11-07 | 1 | -2/+7 | ||
| | ||||||
* | rename SIMPLELOCK_DEBUG to LOCKDEBUG | 1999-07-09 | 1 | -21/+52 | ||
| | | | | | clean up the debug functions add simple_lock_assert | |||||
* | panic prints a newline for you, don't do it in the panic string | 1999-01-11 | 1 | -2/+2 | ||
| | ||||||
* | simple debugging for simple locks | 1998-12-28 | 1 | -57/+11 | ||
| | ||||||
* | put text after endif into comments | 1998-11-10 | 1 | -2/+2 | ||
| | ||||||
* | $OpenBSD$ | 1997-11-07 | 1 | -0/+2 | ||
| | ||||||
* | Fixes so that it compiles with #ifdef DEBUG | 1997-11-06 | 1 | -2/+13 | ||
| | ||||||
* | Updates for VFS Lite 2 + soft update. | 1997-11-06 | 1 | -0/+537 | ||
| | ||||||
* | back out vfs lite2 till after 2.2 | 1997-10-06 | 1 | -537/+0 | ||
| | ||||||
* | VFS Lite2 Changes | 1997-10-06 | 1 | -0/+537 | ||