Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of the silly union for mips pte. No functional change except | 2007-10-18 | 1 | -3/+4 | |
| | | | | pmap.h now includes pte.h. | ||||
* | Make context switching much more MI: | 2007-10-10 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | | | | | | - 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 | ||||
* | Bring back Mickey's UVM anon change. Testing by thib@, beck@ and | 2007-06-18 | 1 | -3/+3 | |
| | | | | ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@. | ||||
* | convert to new .Dd format; | 2007-05-31 | 9 | -18/+18 | |
| | |||||
* | Kernel crash dump support for arm-based platform, with minimal support in | 2007-05-19 | 1 | -7/+65 | |
| | | | | | libkvm, but all the necessary information for a complete _kvm_kvatop() is available in the crash dump. | ||||
* | Enable support for > 512MB of physical memory on mips64 systems, by using | 2007-05-03 | 1 | -13/+23 | |
| | | | | | | | | | | | | XKPHYS instead of KSEG[01] for direct mappings. Then, detect memory above 256MB on O2 by poking at the CRIME registers (ARCbios will not report memory above 256MB, which is mapped above 1GB physical, to the system), and add it to the UVM managed memory. Tested on r5k, rm5200 and r10k with and without more than 256MB, matching hinv reports in all cases. CRIME memory decoding based on a diff from kettenis@ in december 2005. | ||||
* | hide struct process from userland, allow kvm_proc to see it. | 2007-04-14 | 1 | -2/+3 | |
| | | | | okay miod@ | ||||
* | move p_limit and p_cred into struct process | 2007-04-12 | 1 | -4/+9 | |
| | | | | | leave macros behind for now to keep the commit small ok art beck miod pedro | ||||
* | Kernel crash dumps and associated libkvm bits for landisk. | 2007-03-03 | 1 | -29/+115 | |
| | |||||
* | Revert PAE pmap for now, until the strange bug is found. This stops | 2007-02-20 | 2 | -57/+26 | |
| | | | | | | | | | | the freezes many of us are seeing (especially on amd64 machines running OpenBSD/i386). Much testing by nick@ (as always - thanks!), hugh@, ian@, kettenis@ and Sam Smith (s (at) msmith (dot) net). Requested by, input from, and ok deraadt@ ok art@, kettenis@, miod@ | ||||
* | the advertising clause on these can safely be removed | 2007-01-08 | 2 | -13/+5 | |
| | |||||
* | Fix cut'n'paste abuse in error message. | 2006-11-29 | 1 | -3/+3 | |
| | |||||
* | Sync with struct proc change. | 2006-11-29 | 1 | -3/+3 | |
| | |||||
* | Minimal lip service for savecore to be happy. | 2006-11-06 | 1 | -8/+5 | |
| | |||||
* | Preliminary userland bits for OpenBSD/landisk, many things coming from | 2006-10-10 | 1 | -0/+76 | |
| | | | | NetBSD. | ||||
* | Back out the anon change. Apparently it was tested by a few, but most of | 2006-07-13 | 1 | -3/+3 | |
| | | | | | 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. | ||||
* | from netbsd: make anons dynamically allocated from pool. | 2006-06-21 | 1 | -3/+3 | |
| | | | | | | 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 | ||||
* | Real kvm routines for vax; allows ``target kvm'' to work in gdb for kernel | 2006-06-19 | 1 | -50/+29 | |
| | | | | | crash dumps. ok kettenis@ | ||||
* | Use the non-generic SEGSHIFT value in the 020/030 specific codepath. | 2006-06-12 | 1 | -3/+3 | |
| | |||||
* | proper type and ptdsize checks; had it for three weeks now... sigh | 2006-06-09 | 1 | -6/+9 | |
| | |||||
* | Unbreak. Fix some of the lint warnings that mickey reintroduced. | 2006-05-07 | 1 | -16/+17 | |
| | | | | ok miod@ | ||||
* | detect page table dir size difference for normal and pae modes | 2006-04-27 | 1 | -26/+53 | |
| | | | | | (4k vs 16k) and use proper physical address types and page table indexing. | ||||
* | careful cleanup following advice from lint. be very very very careful | 2006-03-31 | 5 | -80/+81 | |
| | | | | with sprinkling in size_t! | ||||
* | ARGSUSED for for a few things | 2006-03-31 | 1 | -1/+4 | |
| | |||||
* | lint happiness, mostly avoiding variable aliasing | 2006-03-31 | 1 | -9/+9 | |
| | |||||
* | kvm_openfiles() should take int flag, not unsigned | 2006-03-31 | 2 | -5/+5 | |
| | |||||
* | for some of internal functions use paddr_t where phys addr is intended insteadd of u_long; miod@ ok | 2006-03-20 | 14 | -47/+48 | |
| | |||||
* | Prevent double-free. | 2006-03-14 | 1 | -8/+10 | |
| | | | | ok mickey@, todd@, deraadt@ | ||||
* | use WANTLINT= (on all architectures) | 2005-11-24 | 1 | -1/+2 | |
| | |||||
* | Use queue macros instead of directly accessing fields. ok millert@ | 2005-10-12 | 2 | -8/+8 | |
| | |||||
* | add $OpenBSD$ tag. ok miod | 2005-01-14 | 1 | -1/+1 | |
| | |||||
* | .{N,O}x fixes; | 2004-11-22 | 1 | -2/+2 | |
| | |||||
* | Kill (almost all) warnings. | 2004-09-15 | 10 | -17/+27 | |
| | |||||
* | KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned | 2004-09-14 | 2 | -5/+5 | |
| | | | | int instead of int; millert ok | ||||
* | free memory allocated by kvm_getproc2() in kvm_close() | 2004-08-11 | 1 | -2/+4 | |
| | | | | ok deraadt@ millert@ | ||||
* | wrong filename | 2004-08-06 | 1 | -2/+2 | |
| | |||||
* | ansi | 2004-08-06 | 1 | -16/+9 | |
| | |||||
* | mips alive again | 2004-08-06 | 1 | -0/+175 | |
| | |||||
* | - fix includes needed to compile | 2004-08-05 | 1 | -13/+21 | |
| | | | | | | | | - mdoc and macro fixes - sync to reality - mention where the kinfo_proc type definition can be found ok millert jmc | ||||
* | errno changes, lib major version bumps, and general flag day | 2004-07-13 | 1 | -2/+2 | |
| | | | | | | | To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build | ||||
* | This was supposed to compile. | 2004-07-03 | 1 | -3/+4 | |
| | |||||
* | if sym has null value -- report as not found; check that kd->vmst is set before use; millert@ ok | 2004-07-01 | 4 | -6/+27 | |
| | |||||
* | Back out part of last commit; we want to realloc + loop for argv too. | 2004-06-24 | 1 | -3/+3 | |
| | |||||
* | Allocate 8 pages for process argv, not one. This should really be ARG_MAX | 2004-06-24 | 1 | -5/+5 | |
| | | | | but sysctl_proc_args() needs changes to support that. | ||||
* | knf; ok millert | 2004-06-15 | 15 | -561/+375 | |
| | |||||
* | Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case. | 2004-06-14 | 1 | -5/+3 | |
| | |||||
* | temporary tree building workaround until millert shows up | 2004-06-13 | 1 | -2/+4 | |
| | |||||
* | fix va -> pa decode. 'by all means' deraadt@ | 2004-05-05 | 1 | -5/+5 | |
| | |||||
* | Include db.h, not ndbm.h since this uses db routines and not ndbm. | 2004-04-28 | 1 | -3/+3 | |
| | |||||
* | remove dup file kvm_amd64 should be used. | 2004-04-28 | 1 | -209/+0 | |
| | | | | OK deraadt@ |