History log of /openbsd-src/lib/libkvm/kvm_proc.c (Results 26 – 50 of 64)
Revision Date Author Comments
# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# 43a9ad52 20-Jun-2009 millert <millert@openbsd.org>

Move KREAD define to kvm_private.h


# cbe3564f 21-Jan-2009 miod <miod@openbsd.org>

All operation on live kernels uses sysctl interface, there is no reason to
access the swap area. Change kvm_open() to no longer require a swap area,
and to not consider failure to open() it as fatal.

All operation on live kernels uses sysctl interface, there is no reason to
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.

show more ...


# d874cce4 26-Jun-2008 ray <ray@openbsd.org>

First pass at removing clauses 3 and 4 from NetBSD licenses.

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 t

First pass at removing clauses 3 and 4 from NetBSD licenses.

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@

show more ...


# 45053f4a 10-Oct-2007 art <art@openbsd.org>

Make context switching much more MI:
- 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 q

Make context switching much more MI:
- 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

show more ...


# 8d0b5baf 18-Jun-2007 pedro <pedro@openbsd.org>

Bring back Mickey's UVM anon change. Testing by thib@, beck@ and
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@.


# 34346742 14-Apr-2007 espie <espie@openbsd.org>

hide struct process from userland, allow kvm_proc to see it.
okay miod@


# e17acf56 12-Apr-2007 tedu <tedu@openbsd.org>

move p_limit and p_cred into struct process
leave macros behind for now to keep the commit small
ok art beck miod pedro


# 2a02e221 29-Nov-2006 miod <miod@openbsd.org>

Sync with struct proc change.


# fd9b881a 13-Jul-2006 deraadt <deraadt@openbsd.org>

Back out the anon change. Apparently it was tested by a few, but most of
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 a

Back out the anon change. Apparently it was tested by a few, but most of
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.

show more ...


# e2abed18 21-Jun-2006 mickey <mickey@openbsd.org>

from netbsd: make anons dynamically allocated from pool.
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


# 9db2f38b 31-Mar-2006 deraadt <deraadt@openbsd.org>

careful cleanup following advice from lint. be very very very careful
with sprinkling in size_t!


# e86d6fa1 12-Oct-2005 otto <otto@openbsd.org>

Use queue macros instead of directly accessing fields. ok millert@


# a650071e 24-Jun-2004 millert <millert@openbsd.org>

Back out part of last commit; we want to realloc + loop for argv too.


# dc651df0 24-Jun-2004 millert <millert@openbsd.org>

Allocate 8 pages for process argv, not one. This should really be ARG_MAX
but sysctl_proc_args() needs changes to support that.


# 551fad64 15-Jun-2004 deraadt <deraadt@openbsd.org>

knf; ok millert


# a3bda97f 14-Jun-2004 millert <millert@openbsd.org>

Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case.


# 299c7754 13-Jun-2004 deraadt <deraadt@openbsd.org>

temporary tree building workaround until millert shows up


# ec9dcc9e 07-Jan-2004 millert <millert@openbsd.org>

Sync PTRTOINT64 w/ kernel version and remove some unused vars.


# 3c298e91 07-Jan-2004 millert <millert@openbsd.org>

Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our
own kvm_arg_sysctl().


# 6d2a09a3 17-Nov-2003 millert <millert@openbsd.org>

Zero nlist array before using; fixes a bug in the error condition
when the corefile is not a valid executable. otto@ OK


# 7b425235 06-Aug-2003 millert <millert@openbsd.org>

Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# df1de12a 20-Jun-2002 art <art@openbsd.org>

Redo the logic in kvm_arg_sysctl for resizing the buffer.
- actually use the value we've just reallocated.
- Don't return success just because the error wasn't ENOMEM (doh!).


# 54040b04 08-Jun-2002 art <art@openbsd.org>

If possible get arg and env information with sysctl.


123