aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/sched_4bsd.c
Commit message (Expand)AuthorAgeFilesLines
* When preempting a thread, put it back on the HEAD of its run queue.Julian Elischer2004-10-051-26/+28
* Use some macros to trach available scheduler slots to allowJulian Elischer2004-10-051-4/+26
* clean up thread runq accounting a bit.Julian Elischer2004-09-161-1/+13
* Add some kassertsJulian Elischer2004-09-131-0/+2
* Revert the previous round of changes to td_pinned. The scheduler isn'tScott Long2004-09-111-23/+1
* Make up my mind if cpu pinning is stored in the thread structure or theJulian Elischer2004-09-101-2/+22
* Add some code to allow threads to nominat a sibling to run if theyu are going...Julian Elischer2004-09-101-1/+47
* Don't do IPIs on behalf of interrupt threads.Julian Elischer2004-09-061-2/+3
* slight code cleanupJulian Elischer2004-09-051-2/+2
* turn on IPIs for 4bsd scheduler by default.Julian Elischer2004-09-051-2/+2
* Refactor a bunch of scheduler code to give basically the same behaviourJulian Elischer2004-09-051-63/+116
* Don't declare a function we are not defining.Julian Elischer2004-09-031-0/+2
* fix compile for UPJulian Elischer2004-09-031-0/+4
* ooops finish last commit.Julian Elischer2004-09-031-0/+1
* Move 4bsd specific experimental IP code into the 4bsd file.Julian Elischer2004-09-031-0/+126
* Give the 4bsd scheduler the ability to wake up idle processorsJulian Elischer2004-09-011-18/+59
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-5/+10
* diff reduction for upcoming patch. Use a macro that masksJulian Elischer2004-08-221-8/+9
* Properly keep track of how many kses are on the system run queue(s).Julian Elischer2004-08-111-2/+3
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.Julian Elischer2004-08-091-6/+5
* Clean up whitespace, increase consistency and correctness.Scott Long2004-07-231-8/+6
* When calling scheduler entrypoints for creating new threads and processes,Julian Elischer2004-07-181-14/+14
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsJohn Baldwin2004-07-161-1/+2
* Set TDF_NEEDRESCHED when a higher priority thread is scheduled inJohn Baldwin2004-07-131-1/+1
* Implement preemption of kernel threads natively in the scheduler ratherJohn Baldwin2004-07-021-1/+11
* - Change mi_switch() and sched_switch() to accept an optional thread toJohn Baldwin2004-07-021-6/+11
* Fix another typo in the previous commit.Scott Long2004-06-211-1/+1
* Fix typo that somehow crept into the previous commitScott Long2004-06-211-1/+1
* Add the sysctl node 'kern.sched.name' that has the name of the schedulerScott Long2004-06-211-1/+8
* Nice, is a property of a process as a whole..Julian Elischer2004-06-161-5/+8
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
* Try not to crash instantly when signalling a libthr program to death.Doug Rabson2004-04-051-1/+1
* The roundrobin callout from sched_4bsd is MPSAFE, so set up theRobert Watson2004-03-051-1/+1
* Switch the sleep/wakeup and condition variable implementations to use theJohn Baldwin2004-02-271-2/+2
* - Disable ithread binding in all cases for now. This doesn't make as muchJeff Roberson2004-02-011-13/+5
* - Keep a variable 'sched_tdcnt' that is used for the local implementationJeff Roberson2004-02-011-2/+19
* - Correct function names listed in KASSERTs. These were copied from otherJeff Roberson2004-01-251-10/+11
* - Implement cpu pinning and binding. This is acomplished by keeping a per-Jeff Roberson2004-01-251-12/+128
* Create a separate kthread that executes sched_cpu() once a second. BecauseJohn Baldwin2003-12-261-6/+21
* Quick fix for scaling of statclock ticks in the SMP case. As explainedBruce Evans2003-11-091-0/+4
* Return a reasonable number for top or ps to display for M:N thread,David Xu2003-11-081-0/+2
* Removed sched_nest variable in sched_switch(). Context switches alwaysBruce Evans2003-10-291-3/+0
* - The kse may be null in sched_pctcpu().Jeff Roberson2003-10-161-1/+7
* - Collapse sched_switchin() and sched_switchout() into sched_switch(). NowJeff Roberson2003-10-161-9/+10
* - Update the sched api. sched_{add,rem,clock,pctcpu} now all accept a tdJeff Roberson2003-10-161-8/+14
* Change instances of callout_init that specify MPSAFE behaviour toSam Leffler2003-08-191-1/+1
* - Various style fixes in both code and comments.John Baldwin2003-08-151-26/+31
* Rename P_THREADED to P_SA. P_SA means a process is using schedulerDavid Xu2003-06-151-1/+1
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
* Fix some easy, global, lint warnings. In most cases, this meansMark Murray2003-04-301-1/+1