summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
AgeCommit message (Expand)Author
2023-06-23tsleep: Comment out kernel lock assertion for now.riastradh
2023-06-23tsleep(9): Assert kernel lock held.riastradh
2023-04-09kpause(9): Simplify assertion. No functional change intended.riastradh
2022-12-05If no more softints are pending on this cpu, clear ci_want_reschedmartin
2022-10-26kern/kern_synch.c: Get averunnable from sys/resource.h.riastradh
2022-06-29sleepq(9): Pass syncobj through to sleepq_block.riastradh
2022-03-10kern: Fix synchronization of clearing LP_RUNNING and lwp_free.riastradh
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2020-05-20future-proof-nessmaxv
2020-04-19Set LW_SINTR earlier so it doesn't pose a problem for doing interruptablead
2020-04-04preempt_needed(), preempt_point(): simplify the definition of these andad
2020-03-26Leave the idle LWPs in state LSIDL even when running, so they don't mess upad
2020-03-14Make page waits (WANTED vs BUSY) interlocked by pg->interlock. Gets RWad
2020-03-14- Hide the details of SPCF_SHOULDYIELD and related behind a couple of smallad
2020-02-23kpause(): is only awoken via timeout or signal, so use SOBJ_SLEEPQ_NULL likead
2020-02-23UVM locking changes, proposed on tech-kern:ad
2020-02-16nextlwp(): fix a couple of locking bugs including one I introduced yesterday,ad
2020-02-15- Move the LW_RUNNING flag back into l_pflag: updating l_flag without lockad
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-09- Many small tweaks to the SMT awareness in the scheduler. It does a muchad
2020-01-08Hopefully fix some problems seen with MP support on non-x86, in particularad
2019-12-21schedstate_percpu: add new flag SPCF_IDLE as a cheap and easy way toad
2019-12-20Use CPU_COUNT() to update nswtch. No functional change.ad
2019-12-16kpreempt_disabled(): softint LWPs aren't preemptable.ad
2019-12-07mi_switch: move an over eager KASSERT defeated by kernel preemption.ad
2019-12-07mi_switch: move LOCKDEBUG_BARRIER later to accomodate holding two locksad
2019-12-06Make it possible to call mi_switch() and immediately switch to another CPU.ad
2019-12-03Rip out pserialize(9) logic now that the RCU patent has expired.riastradh
2019-12-01Fix false sharing problems with cpu_info. Identified with tprof(8).ad
2019-11-23Minor scheduler cleanup:ad
2019-11-21- Don't give up kpriority boost in preempt(). That's unfair and bad forad
2019-10-03Separate flag for suspended by _lwp_suspend and suspended by a debuggerkamil
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
2018-11-30The SHOULDYIELD flag doesn't indicate that other LWPs could run but onlymlelstv
2018-11-28Move counting involuntary switches into mi_switch. preempt() passes thatmlelstv
2018-11-28Revert previous for a better fix.mlelstv
2018-11-28Fix statistics in case mi_switch didn't actually switch LWPs.mlelstv
2018-08-14Change the place to check if a context switch doesn't happen within a pserial...ozaki-r
2018-07-24In mi_switch(), also call pserialize_switchpoint() if we're not switchingbouyer
2018-07-12Remove the kernel PMC code. Sent yesterday on tech-kern@.maxv
2018-05-19Remove emap support. Unfortunately it never got to state where it would bejdolecek
2018-02-16Avoid a race condition between an LWP migration and curlwp_bindozaki-r
2018-01-30Apply C99-style struct initialization to syncobj_tozaki-r
2017-08-06use the same string for the log and uprintf.christos
2016-07-03GSoC 2016 Charles Cui: Implement thread priority protection based on workchristos
2016-04-04Split p_xstat (composite wait(2) status code, or signal number dependingchristos
2015-10-13When clearing out the scheduler queues during system shutdown, we movepgoyette
2014-02-28G/C sys/simplelock.h includesskrll
2013-09-15Remove __CT_LOCAL_.. hackmartin