summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
AgeCommit message (Expand)Author
2023-07-07Revert unintentional changes to kern_lock.c in previous commit.riastradh
2023-07-07heartbeat(9): Test whether curcpu is stable, not kpreempt_disabled.riastradh
2023-04-09ASSERT_SLEEPABLE(9): Micro-optimize this a little bit.riastradh
2023-02-23KERNEL_LOCK(9): Minor tweaks to ci->ci_biglock_wanted access.riastradh
2023-01-27Sprinkle __predict_{true,false} for panicstr checksozaki-r
2022-10-26kern/kern_lock.c: We get start_init_exec from sys/kernel.h now.riastradh
2022-09-13KERNEL_LOCK(9): Avoid spinning out until 10sec have passed.riastradh
2022-09-13KERNEL_LOCK(9): Restore backoff while spinning in !LOCKDEBUG case.riastradh
2022-08-20KERNEL_LOCK(9): Limit ipi trace diagnostic to after init has started.riastradh
2022-08-16KERNEL_LOCK(9): Fix previous for non-LOCKDEBUG builds.riastradh
2022-08-16KERNEL_LOCK(9): Record kernel lock holder in fast path too.riastradh
2022-08-16KERNEL_LOCK(9): Need kpreempt_disable to ipi_send, oops.riastradh
2022-08-16KERNEL_LOCK(9): Send an IPI to print holder's stack trace on spinout.riastradh
2021-10-31Revert the 2015 change I made that allowed sleeping in the idle lwpskrll
2020-12-22Comments.ad
2020-05-02Fix inverted condition in r1.136 - we do want LOCKDEBUG spinouts of themartin
2020-03-08Kill off kernel_lock_plug_leak(), and go back to dropping kernel_lock inad
2020-02-10Put back the delay hooks which were deleted before. Without them VirtualBoxchristos
2020-01-27Add a kernel_lock_plug_leak() that drops any holds and tries to identifyad
2020-01-24Carefully put kernel_lock back the way it was, and add a comment hintingad
2020-01-22- DIAGNOSTIC: check for leaked kernel_lock in mi_switch().ad
2020-01-17kernel_lock:ad
2019-12-03Use __insn_barrier to enforce ordering in l_ncsw loops.riastradh
2019-05-09Avoid prepending a timestamp to lock debug outputs on ddbozaki-r
2019-05-09Make _kernel_lock_dump staticozaki-r
2017-12-25Apply C99-style struct initialization to lockops_tozaki-r
2017-11-21Implement debugging feature for pserialize(9)ozaki-r
2017-09-16more constchristos
2017-01-26For LOCKDEBUG:christos
2015-04-11Trailing whitespaceskrll
2015-04-11Allow sleeping in the idle lwp if the cpu isn't running yet.skrll
2013-09-14Move a CTASSERT to global scope (easiest way to avoid gcc 4.8.1 local unusedmartin
2013-04-27Revert change that allowed rw_tryenter(&lock, RW_READER) to recursemlelstv
2012-08-30Use __cacheline_alignedmatt
2011-11-27add KERNEL_LOCKED_P() macrojmcneill
2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg
2009-12-20remove dated and wrong comments about curlwp being NULL.mrg
2009-07-17Fix spelling: situatations -> situations.dyoung
2009-05-23- Add lwp_pctr(), get an LWP's preemption/ctxsw counter.ad
2008-11-12Remove LKMs and switch to the module framework, pass 1.ad
2008-07-02Switch from KASSERT to CTASSERT for those asserts testing sizes of types.matt
2008-06-25Don't compile kern_lock for rump any more, it's no longer required.pooka
2008-05-31LOCKDEBUG:ad
2008-05-27Replace a couple of tsleep calls with cv_wait.ad
2008-05-19Reduce ifdefs due to MULTIPROCESSOR slightly.ad
2008-05-06Allow rw_tryenter(&lock, RW_READER) to recurse, for vfs_busy().ad
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-28Add MI code to support in-kernel preemption. Preemption is deferred byad
2008-04-27Extend spl protection to keep all kernel_lock state in sync. There couldad
2008-04-01remove useless passing of the lwp from the KERNEL_LOCK() ABIdrochner