aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
Commit message (Expand)AuthorAgeFilesLines
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* Add new function fdunshare() which encapsulates the necessary light magicPoul-Henning Kamp2004-12-141-12/+2
* Don't include sys/user.h merely for its side-effect of recursivelyDavid Schultz2004-11-271-1/+1
* Remove local definitions of RANGEOF() and use __rangeof() instead.David Schultz2004-11-201-9/+6
* Malloc p_stats instead of putting it in the U area. We should considerDavid Schultz2004-11-201-1/+3
* Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST.Poul-Henning Kamp2004-11-131-5/+5
* Use more intuitive pointer for fdinit() and fdcopy().Poul-Henning Kamp2004-11-081-5/+3
* Allow fdinit() to be called with a NULL fdp argument so we can usePoul-Henning Kamp2004-11-071-4/+0
* Back out rev 1.240; it is unnecessary. In particular,David Schultz2004-10-061-8/+3
* Avoid calling _PHOLD(p1) with p2's lock held, since _PHOLD()David Schultz2004-10-011-3/+8
* make some of these conditions apply equally to both threading systems.Julian Elischer2004-09-131-3/+3
* Refactor a bunch of scheduler code to give basically the same behaviourJulian Elischer2004-09-051-11/+2
* Push Giant deep into vm_forkproc(), acquiring it only if the process hasAlan Cox2004-09-031-16/+12
* Give setrunqueue() and sched_add() more of a clue as toJulian Elischer2004-09-011-1/+1
* Remove sched_free_thread() which was only usedJulian Elischer2004-08-311-3/+0
* Add locking to the kqueue subsystem. This also makes the kqueue subsystemJohn-Mark Gurney2004-08-151-1/+2
* Increase the amount of data exported by KTR in the KTR_RUNQ setting.Julian Elischer2004-08-091-2/+2
* Move the schedlock owner state update following the contextBosko Milekic2004-07-271-12/+14
* In revision 1.228, I accidentally broke the "total number of processes inColin Percival2004-07-261-1/+2
* When calling scheduler entrypoints for creating new threads and processes,Julian Elischer2004-07-181-1/+1
* fix compilation.Poul-Henning Kamp2004-07-131-1/+1
* Replace "uid != 0" with "suser(td->td_ucred) != 0" when checking if we'veColin Percival2004-07-131-1/+2
* Allocate TIDs in thread_init() and deallocate them in thread_fini().Marcel Moolenaar2004-06-261-1/+0
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
* Assign thread IDs to kernel threads. The purpose of the thread ID (tid)Marcel Moolenaar2004-04-031-0/+1
* Make the process_exit eventhandler run without Giant. Add Giant hooksPeter Wemm2004-03-141-2/+0
* Move the process_fork event out from under Giant. This one is easy,Peter Wemm2004-03-141-1/+3
* Push Giant down a little further:Peter Wemm2004-03-131-3/+0
* make sure we had the filedesc lock when calling fdinit when RFCFDG is setJohn-Mark Gurney2004-03-101-0/+4
* Move a vref call outside of proc locks and Giant. By virtue of the factPeter Wemm2004-03-081-5/+4
* Giant is not required for vm_thread_new_altkstack().Alan Cox2004-03-071-4/+1
* Add a missing part of jhb's previous commit. It looks like he had aPeter Wemm2004-03-061-1/+5
* - Grab a share lock of the proctree lock while looking for a pid due to theJohn Baldwin2004-03-051-13/+25
* Fixed some style bugs (mainly English usage errors in comments).Bruce Evans2004-03-041-9/+10
* Split the mlock() kernel code into two parts, mlock(), which unpacksDon Lewis2004-02-261-1/+3
* Always set a process' state to normal when it is fully constructed inJohn Baldwin2004-02-051-5/+9
* Locking for the per-process resource limits structure.John Baldwin2004-02-041-5/+4
* When aborting fork() due to a failure, if using MAC, make sure to cleanRobert Watson2004-01-251-0/+3
* Reduce gratuitous includes: don't include jail.h if it's not needed.Robert Watson2004-01-211-1/+0
* Prevent a race condition between fork1() and whatever changes the pgrp byOlivier Houchard2004-01-091-0/+1
* Make sigaltstack as per-threaded, because per-process sigaltstack stateDavid Xu2004-01-031-1/+4
* Removed mostly-dead code for setting switchtime after the idle loopBruce Evans2003-10-291-3/+0
* Removed sched_nest variable in sched_switch(). Context switches alwaysBruce Evans2003-10-291-1/+1
* 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-22/+28
* Adjust a comment to remove staleness and take slightly less implementationJohn Baldwin2003-08-041-6/+2
* Add a ratelimited message of the formMike Silbersack2003-06-191-1/+5
* Rename P_THREADED to P_SA. P_SA means a process is using schedulerDavid Xu2003-06-151-3/+3
* Move the *_new_altkstack() and *_dispose_altkstack() functions out of theAlan Cox2003-06-141-1/+1
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3