aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_kthread.c
Commit message (Expand)AuthorAgeFilesLines
* kern: for pointers replace 0 with NULL.Pedro F. Giffuni2016-04-151-1/+1
* Rename P_KTHREAD struct proc p_flag to P_KPROC.Konstantin Belousov2016-02-091-4/+4
* fork: pass arguments to fork1 in a dedicated structureMateusz Guzik2016-02-041-2/+6
* Limit rights on process descriptors.Ed Schouten2015-07-311-1/+1
* The si_status field of the siginfo_t, provided by the waitid(2) andKonstantin Belousov2015-07-181-1/+1
* Ansify another function. This is the last in the file, I hope.Mark Murray2015-06-281-2/+1
* ANSIfy the only function that uses K&R definition in this file.Mark Murray2015-06-281-2/+1
* Generalised support for copy-on-write structures shared by threads.Mateusz Guzik2015-06-101-1/+1
* The umtx_lock mutex is used by top-half of the kernel, but isKonstantin Belousov2015-02-281-0/+2
* Do not use potentially stale thread in kthread_add()Bryan Venteicher2013-08-171-6/+4
* Stop treating td_sigmask specially for the purposes of new threadKonstantin Belousov2012-05-261-2/+0
* Revert previous revision, misunderstood the code :(Xin LI2012-05-111-1/+0
* Release proc lock after setting signal queue.Xin LI2012-05-111-0/+1
* Add a new sched_clear_name() method to the scheduler interface to clearJohn Baldwin2012-03-081-0/+6
* Whenever a new kernel thread is spawned, explicitly clear any CPU affinityRyan Stone2012-02-041-0/+7
* Add experimental support for process descriptorsJonathan Anderson2011-08-181-1/+1
* - Properly initialize the base priority (td_base_pri) of thread0 to PVMJohn Baldwin2011-01-061-4/+5
* kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn'tJohn Baldwin2011-01-041-1/+0
* Small whitespace nits and add a comment explaining why kthread_exit() canJohn Baldwin2011-01-031-3/+6
* In thr_exit() and kthread_exit(), only remove thread fromDavid Xu2010-10-231-1/+5
* Create a global thread hash table to speed up thread lookup, useDavid Xu2010-10-091-0/+3
* Allow a const char * to be passed as the process name to kproc_kthread_add()John Baldwin2010-05-211-1/+1
* Use the cached value within comparison.Attilio Rao2010-02-191-1/+1
* Fix the grammar.Attilio Rao2010-02-191-4/+4
* Fix a race in regard of p_numthreads.Attilio Rao2010-02-191-9/+8
* - Fix the kthread_{suspend, resume, suspend_check}() locking.Attilio Rao2010-01-241-18/+52
* Reintroduce the r196640, after fixing the problem with my testing.Konstantin Belousov2009-09-011-4/+1
* Reverse r196640 and r196644 for now.Konstantin Belousov2009-08-291-1/+4
* Remove the altkstacks, instead instantiate threads with kernel stackKonstantin Belousov2009-08-291-4/+1
* Kill a dead variableAntoine Brodin2008-08-031-2/+0
* Document the kproc_kthread_add() callJulian Elischer2008-04-291-1/+2
* - Relax requirements for p_numthreads, p_threads, p_swtick, and p_nice fromJeff Roberson2008-03-191-2/+0
* Acquire the process mutex and spin locks before calling thread_exit() inJohn Baldwin2007-11-151-1/+8
* Add support for the pre-exisiting module shutdoen handshake.Julian Elischer2007-10-271-7/+6
* If kthread_exit() is called on the last kthread in a kproc, thenJulian Elischer2007-10-261-0/+6
* kthread_exit needs no stinkin argument.Julian Elischer2007-10-261-2/+5
* Introduce a way to make pure kernal threads.Julian Elischer2007-10-261-3/+208
* Rename the kthread_xxx (e.g. kthread_create()) callsJulian Elischer2007-10-201-7/+7
* Commit 14/14 of sched_lock decomposition.Jeff Roberson2007-06-051-2/+2
* - Remove setrunqueue and replace it with direct calls to sched_add().Jeff Roberson2007-01-231-1/+2
* Don't do a PHOLD() in kthread_create() w/o a matching PRELE() inJohn Baldwin2006-02-221-1/+0
* - Move the wakeup() for exiting kthreads out of exit1() and intoJohn Baldwin2006-02-061-0/+12
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-1/+1
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
* - Merge struct procsig with struct sigacts.John Baldwin2003-05-131-1/+3
* Instead of recording the Unix time in a process when it starts, record theDag-Erling Smørgrav2003-05-011-1/+1
* fork1() already sets PS_INMEM, so don't set it again. This lets us pushJohn Baldwin2003-04-171-3/+2
* Some kernel threads try to do significant work, and the default KSTACK_PAGESScott Long2002-10-021-3/+3
* Back our kernel support for reliable signal queues.Juli Mallett2002-10-011-9/+8