aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_switch.c
Commit message (Expand)AuthorAgeFilesLines
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-3/+6
* Remove duplicated empty lines from kern/*.cMateusz Guzik2020-01-301-1/+0
* Add KERNEL_PANICKED macro for use in place of direct panicstr testsMateusz Guzik2020-01-121-1/+1
* schedlock 4/4Jeff Roberson2019-12-151-2/+1
* make critical_{enter, exit} inlineMatt Macy2018-07-031-16/+11
* Remove incorrect owepreempt assertion added in r334062Mateusz Guzik2018-05-231-2/+6
* Move preemption handling out of critical_exit.Mateusz Guzik2018-05-221-34/+35
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* sched: move panic handling code out of choosethreadMateusz Guzik2017-11-171-7/+20
* Add comments explaining unobvious td_critnest adjustments inKonstantin Belousov2017-01-221-0/+15
* Revert for r277213:Hans Petter Selasky2015-01-221-0/+2
* Major callout subsystem cleanup and rewrite:Hans Petter Selasky2015-01-151-2/+0
* Add a comment on why inlining critical_enter() may not be a good ideaAttilio Rao2012-12-091-0/+6
* critical_exit: ignore td_owepreempt if kdb_active is setAndriy Gapon2011-12-041-1/+1
* Update several places that iterate over CPUs to use CPU_FOREACH().John Baldwin2010-06-111-3/+1
* - Use DPCPU for SCHED_STATS. This is somewhat awkward because theJeff Roberson2009-06-251-18/+37
* fix typo in runz_fuzzJulian Elischer2008-05-121-1/+1
* - Make SCHED_STATS more generic by adding a wrapper to create theJeff Roberson2008-04-171-25/+41
* - Restore runq to manipulating threads directly by putting runq links andJeff Roberson2008-03-201-64/+49
* - Remove the unused and redundant sched_newproc() function.Jeff Roberson2008-03-201-34/+0
* - Move maybe_preempt() from kern_switch.c to sched_4bsd.c. This is functionJeff Roberson2008-03-201-113/+26
* In keeping with style(9)'s recommendations on macros, use a ';'Robert Watson2008-03-161-1/+1
* Remove kernel support for M:N threading.Jeff Roberson2008-03-121-1/+1
* generally we are interested in what thread did something asJulian Elischer2007-11-141-3/+3
* - Fix ULE in kernels without PREEMPTION compiled in by always enabling theJeff Roberson2007-10-081-12/+1
* Fix some entries in the locks static table of witness.Attilio Rao2007-09-201-1/+0
* - Move all of the PS_ flags into either p_flag or td_flags.Jeff Roberson2007-09-171-2/+2
* - Improve runq_findbit_from() which is used by ULE's circular queue. MaskJeff Roberson2007-08-201-32/+22
* - Set SW_PREEMPT when we preempt in critical_exit().Jeff Roberson2007-08-031-1/+1
* - Remove explicit references to sched_lock. A simpler assert will do.Jeff Roberson2007-07-191-2/+1
* - Garbage collect unused concurrency functions.Jeff Roberson2007-06-121-23/+0
* Commit 1/14 of sched_lock decomposition.Jeff Roberson2007-06-041-21/+71
* - Change types for necent runq additions to u_char rather than int.Jeff Roberson2007-02-081-5/+5
* - Remove setrunqueue and replace it with direct calls to sched_add().Jeff Roberson2007-01-231-82/+3
* - Don't pass a pointer into runq_choose_from(). The caller can adjust theJeff Roberson2007-01-041-3/+2
* - Add three new functions to support circular run queues.Jeff Roberson2007-01-041-4/+93
* Prefer a more traditional spelling of inhibited in comments and panicRobert Watson2006-12-311-2/+2
* Threading cleanup.. part 2 of several.Julian Elischer2006-12-061-573/+62
* Make KSE a kernel option, turned on by default in all GENERICJohn Birrell2006-10-261-0/+68
* Add scheduler CORE, the work I have done half a year ago, recent,David Xu2006-06-131-1/+6
* sched_rem() already sets ke->ke_state to KES_THREAD, so there's no needOlivier Houchard2006-06-011-2/+0
* Trim trailing whitespace.Alexander Kabaev2005-12-281-46/+45
* Restore KTR_CRITICAL but conditionally compile it in as KTR_SCHED.Nate Lawson2005-12-181-2/+9
* Clean up unused or poorly utilized KTR values. Remove KTR_FS, KTR_KGDB,Nate Lawson2005-12-171-2/+2
* In adjustrunqueue(), add code to handle thread migrating case forDavid Xu2005-08-031-1/+6
* Restore preemption of idle threads.Stephan Uphoff2005-06-101-3/+1
* Lots of whitespace cleanup.Stephan Uphoff2005-06-091-5/+6
* Fix some race conditions for pinned threads that may cause them to runStephan Uphoff2005-06-091-18/+30
* Use low level constructs borrowed from interrupt threads to wait forStephan Uphoff2005-05-231-11/+4
* Fix a bug that caused preemption to happen for a thread in the sameStephan Uphoff2005-05-191-2/+2