summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
Commit message (Collapse)AuthorAgeFilesLines
...
* ia64 does not have the same degree of stealth include file nesting,peter2002-07-171-0/+2
| | | | | | so it needs an explicit #include <machine/frame.h> to get 'struct trapframe'. The fact that it needs this at this level is rather bogus but it will not compile without it.
* Pacify gcc on ia64peter2002-07-171-0/+3
|
* Thinking about it I came to the conclusion that the KSE states were incorrectlyjulian2002-07-141-3/+0
| | | | | | | | | | | | | | formulated. The correct states should be: IDLE: On the idle KSE list for that KSEG RUNQ: Linked onto the system run queue. THREAD: Attached to a thread and slaved to whatever state the thread is in. This means that most places where we were adjusting kse state can go away as it is just moving around because the thread is.. The only places we need to adjust the KSE state is in transition to and from the idle and run queues. Reviewed by: jhb@freebsd.org
* Collect all the (now equivalent) pmap_new_proc/pmap_dispose_proc/peter2002-07-071-0/+10
| | | | | | | | | | | | | pmap_swapin_proc/pmap_swapout_proc functions from the MD pmap code and use a single equivalent MI version. There are other cleanups needed still. While here, use the UMA zone hooks to keep a cache of preinitialized proc structures handy, just like the thread system does. This eliminates one dependency on 'struct proc' being persistent even after being freed. There are some comments about things that can be factored out into ctor/dtor functions if it is worth it. For now they are mostly just doing statistics to get a feel of how it is working.
* Make this compile on 64 bit platformspeter2002-07-071-4/+4
|
* - In thread_userret(), remove the Giant locking and unlocking around thearr2002-07-011-2/+0
| | | | | | | call to thread_alloc(). Approved by: julian Reviewed by: jake, jeff
* Add files that are new for KSE.julian2002-06-291-0/+790
OpenPOWER on IntegriCloud