summaryrefslogtreecommitdiff
path: root/sys/kern/kern_kthread.c
AgeCommit message (Collapse)Author
2001-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
2001-08-08__dead not __noreturn__Todd C. Miller
2001-06-27no more cpu_set_init_frameArtur Grabowski
2001-06-27remove old vmArtur Grabowski
2001-04-02On popular demand, the Linux-compatibility clone(2) implementation basedNiklas Hallqvist
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work.
2000-07-17art, at least commit something which compiles!Theo de Raadt
2000-07-17FORK_SHAREVM only works on non-UVM kernels.Artur Grabowski
Pointed out by miod@
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
2000-01-31re-add fixed vfork code from artTheo de Raadt
2000-01-31undo vfork changes, since non-UVM was not consideredTheo de Raadt
2000-01-28Change fork1() from taking forktype and rforkflags, into a single flagsArtur Grabowski
argument. Let sys_rfork build the arguments to fork1() and do the sanity checks itself.
1999-08-17New cpu_fork API to take a stack in which you point the child's stackpointerNiklas Hallqvist
to, at the bottom or the top, depending on your architecture's stack growth direction. This is in preparation for Linux' clone(2) emulation. port maintainers, please check that I did the work right.
1999-01-26We need machine/cpu.h for the cpu_set_init_frame defNiklas Hallqvist
1999-01-11sigh memset is not available everywhere, I should know betterNiklas Hallqvist
1999-01-11kthread abstraction from NetBSD, implemented with our rforkNiklas Hallqvist