summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
Commit message (Expand)AuthorAgeFilesLines
* Commit a partial lazy thread switch mechanism for i386. it isn't as lazypeter2003-04-021-1/+17
* Adjust code for userland preemptive. Userland can set a quantum indavidxu2003-03-191-27/+1
* Cosmetic change, make it QUEUE_MACRO_DEBUG friendlydavidxu2003-03-091-1/+1
* Change the process flags P_KSES to be P_THREADED.julian2003-02-271-5/+5
* Update comments to reflect new KSE code.davidxu2003-02-191-3/+1
* Move code for detecting PS_NEEDSIGCHK into thread_schedule_upcall,davidxu2003-02-171-2/+0
* Move a bunch of flags from the KSE to the thread.julian2003-02-171-0/+2
* - Split the struct kse into struct upcall and struct kse. struct kse willjeff2003-02-171-178/+56
* Reversion of commit by Davidxu plus fixes since applied.julian2003-02-011-56/+178
* Move UPCALL related data structure out of kse, introduce a newdavidxu2003-01-261-178/+56
* Remove a KASSERT that can now happen and add a missing setrunnable.julian2003-01-201-2/+0
* Add code to ddb to allow backtracing an arbitrary thread.julian2002-12-281-99/+144
* Did you ever notice how stupid bugs show up much clearerjulian2002-10-141-1/+1
* Tidy up the scheduler's code for changing the priority of a thread.julian2002-10-141-13/+47
* - Create a new scheduler api that is defined in sys/sched.hjeff2002-10-121-51/+9
* Round out the facilty for a 'bound' thread to loan out its KSEjulian2002-10-091-105/+130
* set ke_bound to NULL when kse owner thread becomes runnable.davidxu2002-10-031-0/+1
* Implement basic KSE loaning. This stops a hread that is blocked in BOUND modejulian2002-09-291-6/+68
* Indentation does not define a block.. you need breces {} as well..julian2002-09-231-1/+3
* Allocate KSEs and KSEGRPs separatly and remove them from the proc structure.julian2002-09-151-5/+2
* Completely redo thread states.julian2002-09-111-7/+7
* Rejig the code to figure out estcpu and work out how long a KSEGRP has beenjulian2002-08-301-0/+2
* - Optimize wakeup() and its friends; if a thread waken up is beingtanimura2002-07-301-0/+6
* Allow alphas to do crashdumps: Refuse to run anything in choosethread()gallatin2002-07-171-0/+4
* Thinking about it I came to the conclusion that the KSE states were incorrectlyjulian2002-07-141-131/+10
* also set the KSE state for the idle KSE/thread case.julian2002-07-121-2/+2
* Set the thread state of the newly chosen to run thread to TDS_RUNNING injhb2002-07-121-2/+1
* Remove debugging code that I originally only wanted to be there for a couple ...julian2002-07-111-23/+2
* Part 1 of KSE-IIIjulian2002-06-291-39/+623
* Move the "- 1" into the RQB_FFS(mask) macro itself so thatpeter2002-06-201-2/+1
* Make the run queue parameters machine dependent. Optimize 64 bitjake2002-05-251-0/+2
* Remove runq_findproc. This never worked right in the first place and canjake2002-05-081-23/+0
* Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()dillon2002-04-011-0/+1
* Compromise for critical*()/cpu_critical*() recommit. Cleanup the interruptdillon2002-03-271-3/+4
* Rename runq_find() to runq_findproc(), and hide it behind #ifdef DIAGNOSTIC,des2002-03-061-3/+5
* revert last commit temporarily due to whining on the lists.dillon2002-02-261-7/+0
* STAGE-1 of 3 commit - allow (but do not require) interrupts to remaindillon2002-02-261-0/+7
* In a threaded world, differnt priorirites become properties ofjulian2002-02-111-7/+3
* Modify the critical section API as follows:jhb2001-12-181-0/+25
* Change p into ke->ke_proc, this was hidden behind INVARIANTS.jlemon2001-09-181-1/+1
* KSE Milestone 2julian2001-09-121-34/+48
* Spelling fix in a KASSERT: runq_chose -> runq_choose.jhb2001-07-041-1/+1
* Catch up to header include changes:jhb2001-03-281-0/+1
* Jake essentially rewrote this. It is not by any stretch of thepeter2001-03-151-2/+0
* Assert that the process we're trying to enqueue isn't already there.des2001-03-111-0/+21
* Add a new informative KASSERT to ensure that a process is in the SRUN statejhb2001-03-091-0/+3
* - Assert that the proc to return is not NULL in runq_choose thejake2001-02-241-0/+2
* Implement a unified run queue and adjust priority levels accordingly.jake2001-02-121-181/+163
* Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variablesjake2001-01-101-2/+2
* Catch up to moving headers:jhb2000-10-201-2/+1
OpenPOWER on IntegriCloud