summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2013-06-11convert some easy bcopy to memcpy and clean up fdexpand a bit.Ted Unangst
2013-06-06Prevent idle thread from being stolen on startup.Christiano F. Haesbaert
2013-06-05factor out pid allocation to functions. add a small cache of recentlyTed Unangst
2013-06-03When creating a thread, don't add it to the process's thread listPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-06-01As found by kurt, there's a twisty race between exit1 and fork1Ted Unangst
2013-04-06rthreads are always enabled. remove the sysctl.Ted Unangst
2013-03-14the 5.1 era tfork syscall claws its way out of the grave. we failed toTed Unangst
2013-03-02No longer need the 5.1 version of the __tfork syscallPhilip Guenther
2012-11-19If uvm_km_kmemalloc_pla() fails when just creating a thread (and not aPhilip Guenthe
2012-08-02Apply profiling to all threads instead of just the thread that calledPhilip Guenthe
2012-06-21__tfork() needs to set the stack address of the new thread in the kernel,Philip Guenthe
2012-05-10Only set a process's start time when starting the main thread. There'sPhilip Guenthe
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2012-04-12move accounting flags to struct process; idea and ok guentherMike Belopuhov
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-11-22Move struct proc's sigaltstack struct from the zeroed area into theJoshua Elsasser
2011-11-09Change fork1() and kthread_create() to match the rest of the treePhilip Guenthe
2011-11-05I had moved earlier the adding of processes to the pgrp and children listsPhilip Guenthe
2011-10-15"TLS-lite": add kernel support for a per-thread userspace pointer,Philip Guenthe
2011-07-07Functions used in files other than where they are defined should bePhilip Guenthe
2011-07-06Clean up after P_BIGLOCK removal.Artur Grabowski
2011-06-06push kernel malloc(9) and kernel stacks into non-dma memory, since thatTheo de Raadt
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-10-31The return of rfork(RFTHREAD) must be consistent with getthrid().Philip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-23Make sure the u area of new processes is zero-filled; this got lost inMiod Vallat
2010-07-19Rollback the allproclk and fileheadlk addition. When grabbing anPhilip Guenthe
2010-07-02add an align argument to uvm_km_kmemalloc_pla.Artur Grabowski
2010-06-30style nitThordur I. Bjornsson
2010-06-30Move the plimit and pcred bits in fork1() into process_new() and makePhilip Guenthe
2010-06-29We always copy struct pcred when creating a new process, so the referencePhilip Guenthe
2010-06-29Eliminate struct plimit's PL_SHAREMOD flag: it was for COMPAT_IRIXPhilip Guenthe
2010-06-29some late breaking style comments from guentherTed Unangst
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-06-27A process on the zombie list can have a NULL p_pgrp if it sleeps whenPhilip Guenthe
2010-05-29As noted by art, two processes with the same pid would be bad. GrabPhilip Guenthe
2010-05-18move knote list to struct process. ok guentherTed Unangst
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-12-28Sanity check flags in fork1(), banning some combos we don't supportPhilip Guenthe
2009-12-23The process's rdomain should be, well, per-process and not per-rthread,Philip Guenthe
2009-11-27Add setrdomain() and getrdomain() system calls. Committing now toPhilip Guenthe
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski