summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
Commit message (Expand)AuthorAgeFilesLines
* Add new function fdunshare() which encapsulates the necessary light magicphk2004-12-141-12/+2
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-271-1/+1
* Remove local definitions of RANGEOF() and use __rangeof() instead.das2004-11-201-9/+6
* Malloc p_stats instead of putting it in the U area. We should considerdas2004-11-201-1/+3
* Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST.phk2004-11-131-5/+5
* Use more intuitive pointer for fdinit() and fdcopy().phk2004-11-081-5/+3
* Allow fdinit() to be called with a NULL fdp argument so we can usephk2004-11-071-4/+0
* Back out rev 1.240; it is unnecessary. In particular,das2004-10-061-8/+3
* Avoid calling _PHOLD(p1) with p2's lock held, since _PHOLD()das2004-10-011-3/+8
* make some of these conditions apply equally to both threading systems.julian2004-09-131-3/+3
* Refactor a bunch of scheduler code to give basically the same behaviourjulian2004-09-051-11/+2
* Push Giant deep into vm_forkproc(), acquiring it only if the process hasalc2004-09-031-16/+12
* Give setrunqueue() and sched_add() more of a clue as tojulian2004-09-011-1/+1
* Remove sched_free_thread() which was only usedjulian2004-08-311-3/+0
* Add locking to the kqueue subsystem. This also makes the kqueue subsystemjmg2004-08-151-1/+2
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.julian2004-08-091-2/+2
* Move the schedlock owner state update following the contextbmilekic2004-07-271-12/+14
* In revision 1.228, I accidentally broke the "total number of processes incperciva2004-07-261-1/+2
* When calling scheduler entrypoints for creating new threads and processes,julian2004-07-181-1/+1
* fix compilation.phk2004-07-131-1/+1
* Replace "uid != 0" with "suser(td->td_ucred) != 0" when checking if we'vecperciva2004-07-131-1/+2
* Allocate TIDs in thread_init() and deallocate them in thread_fini().marcel2004-06-261-1/+0
* Remove advertising clause from University of California Regent's license,imp2004-04-051-4/+0
* Assign thread IDs to kernel threads. The purpose of the thread ID (tid)marcel2004-04-031-0/+1
* Make the process_exit eventhandler run without Giant. Add Giant hookspeter2004-03-141-2/+0
* Move the process_fork event out from under Giant. This one is easy,peter2004-03-141-1/+3
* Push Giant down a little further:peter2004-03-131-3/+0
* make sure we had the filedesc lock when calling fdinit when RFCFDG is setjmg2004-03-101-0/+4
* Move a vref call outside of proc locks and Giant. By virtue of the factpeter2004-03-081-5/+4
* Giant is not required for vm_thread_new_altkstack().alc2004-03-071-4/+1
* Add a missing part of jhb's previous commit. It looks like he had apeter2004-03-061-1/+5
* - Grab a share lock of the proctree lock while looking for a pid due to thejhb2004-03-051-13/+25
* Fixed some style bugs (mainly English usage errors in comments).bde2004-03-041-9/+10
* Split the mlock() kernel code into two parts, mlock(), which unpackstruckman2004-02-261-1/+3
* Always set a process' state to normal when it is fully constructed injhb2004-02-051-5/+9
* Locking for the per-process resource limits structure.jhb2004-02-041-5/+4
* When aborting fork() due to a failure, if using MAC, make sure to cleanrwatson2004-01-251-0/+3
* Reduce gratuitous includes: don't include jail.h if it's not needed.rwatson2004-01-211-1/+0
* Prevent a race condition between fork1() and whatever changes the pgrp bycognet2004-01-091-0/+1
* Make sigaltstack as per-threaded, because per-process sigaltstack statedavidxu2004-01-031-1/+4
* Removed mostly-dead code for setting switchtime after the idle loopbde2003-10-291-3/+0
* Removed sched_nest variable in sched_switch(). Context switches alwaysbde2003-10-291-1/+1
* Change instances of callout_init that specify MPSAFE behaviour tosam2003-08-191-1/+1
* - Various style fixes in both code and comments.jhb2003-08-151-22/+28
* Adjust a comment to remove staleness and take slightly less implementationjhb2003-08-041-6/+2
* Add a ratelimited message of the formsilby2003-06-191-1/+5
* Rename P_THREADED to P_SA. P_SA means a process is using schedulerdavidxu2003-06-151-3/+3
* Move the *_new_altkstack() and *_dispose_altkstack() functions out of thealc2003-06-141-1/+1
* Use __FBSDID().obrien2003-06-111-1/+3
* Add tracking of process leaders sharing a file descriptor table andtegge2003-06-021-11/+31
OpenPOWER on IntegriCloud