Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-21 | All operation on live kernels uses sysctl interface, there is no reason to | Miod Vallat | |
access the swap area. Change kvm_open() to no longer require a swap area, and to not consider failure to open() it as fatal. Post-mortem analysis would need an image of the swap area at the time of the crash, anyway. | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-06-18 | Bring back Mickey's UVM anon change. Testing by thib@, beck@ and | Pedro Martelletto | |
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@. | |||
2007-04-14 | hide struct process from userland, allow kvm_proc to see it. | Marc Espie | |
okay miod@ | |||
2007-04-12 | move p_limit and p_cred into struct process | Ted Unangst | |
leave macros behind for now to keep the commit small ok art beck miod pedro | |||
2006-11-29 | Sync with struct proc change. | Miod Vallat | |
2006-07-13 | Back out the anon change. Apparently it was tested by a few, but most of | Theo de Raadt | |
us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices. | |||
2006-06-21 | from netbsd: make anons dynamically allocated from pool. | Michael Shalayeff | |
this results in lesse kva waste due to static preallocation of those for every phys page and also every swap page. tested by beck krw miod | |||
2006-03-31 | careful cleanup following advice from lint. be very very very careful | Theo de Raadt | |
with sprinkling in size_t! | |||
2005-10-12 | Use queue macros instead of directly accessing fields. ok millert@ | Otto Moerbeek | |
2004-06-24 | Back out part of last commit; we want to realloc + loop for argv too. | Todd C. Miller | |
2004-06-24 | Allocate 8 pages for process argv, not one. This should really be ARG_MAX | Todd C. Miller | |
but sysctl_proc_args() needs changes to support that. | |||
2004-06-15 | knf; ok millert | Theo de Raadt | |
2004-06-14 | Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case. | Todd C. Miller | |
2004-06-13 | temporary tree building workaround until millert shows up | Theo de Raadt | |
2004-01-07 | Sync PTRTOINT64 w/ kernel version and remove some unused vars. | Todd C. Miller | |
2004-01-07 | Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use | Todd C. Miller | |
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl(). | |||
2003-11-17 | Zero nlist array before using; fixes a bug in the error condition | Todd C. Miller | |
when the corefile is not a valid executable. otto@ OK | |||
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-06-20 | Redo the logic in kvm_arg_sysctl for resizing the buffer. | Artur Grabowski | |
- actually use the value we've just reallocated. - Don't return success just because the error wasn't ENOMEM (doh!). | |||
2002-06-08 | If possible get arg and env information with sysctl. | Artur Grabowski | |
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-12-13 | Reorder new includes. art@ says ok. | Hugh Graham | |
2001-12-05 | Must include machine/pmap.h and machine/vmparam.h here now | Artur Grabowski | |
that uvm headers won't do that for us. | |||
2001-11-06 | Adapt to new uvm/ includes. | Artur Grabowski | |
2001-11-05 | No need to pull in vm/vm_param.h in any of these files. | Artur Grabowski | |
2001-06-27 | UVM is no longer an option | Artur Grabowski | |
2001-05-18 | Convert lseek/{read,write} pairs into pread and pwrite. | Artur Grabowski | |
from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>. | |||
2000-06-18 | Mark 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. | |||
1999-06-22 | UVM support + some cleanup | Artur Grabowski | |
1997-02-26 | Switch alpha from libkvm.old to libkvm with code from NetBSD. | Niklas Hallqvist | |
%x -> %lx format fixes from me. | |||
1996-10-23 | use psstrings sysctl | Theo de Raadt | |
1996-05-05 | sync with 0430 | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |