History log of /openbsd-src/sys/kern/kern_proc.c (Results 76 – 100 of 101)
Revision Date Author Comments
# e1adf784 03-Jul-2005 tedu <tedu@openbsd.org>

malloc(M_WAITOK) implies sleeping, so we have to double check that
somebody else didn't beat us in uid_find().


# da90d235 10-Mar-2005 tedu <tedu@openbsd.org>

split out uidinfo from kern_proc.c private, use it to store lock count,
restrict lock count per uid to a global limit, add sysctl to adjust limit.
this prevents a user from creating too many locks.

split out uidinfo from kern_proc.c private, use it to store lock count,
restrict lock count per uid to a global limit, add sysctl to adjust limit.
this prevents a user from creating too many locks. problem noticed
by devon o'dell. ok deraadt miod pedro

show more ...


# 9d08f8e5 26-Dec-2004 miod <miod@openbsd.org>

Use list and queue macros where applicable to make the code easier to read;
no change in compiler assembly output.


# 2876d274 18-Nov-2004 markus <markus@openbsd.org>

handle SONPROC; ok aaron, deraadt, krw


# 8ef2d44d 04-Oct-2004 pedro <pedro@openbsd.org>

cacheing -> caching


# a78829a0 25-Jul-2004 tedu <tedu@openbsd.org>

move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too.
shuffle functions around so that scheduler is all together.
no real functional changes. ok art@ testing miod@


# 7aa7a280 22-Jul-2004 art <art@openbsd.org>

SIMPLELOCK -> mutex for the lock around deadproc list.
Also move the whole deadproc infrastructure to kern_exit, it's only used
there.

miod@ ok


# 012ea299 13-Jun-2004 niklas <niklas@openbsd.org>

debranch SMP, have fun


# c88e70c2 29-Jan-2004 millert <millert@openbsd.org>

The Sxxx proc state defines start at 1, not 0. Also make the const
usage more correct and fix a signed/unsigned format mismatch.
Based on a patch from Patrick Latifi. OK deraadt@


# 29295d1c 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.


# d8fe3907 12-May-2003 art <art@openbsd.org>

Quoting Theo: Do not approve diffs when you're hungover.
Accessing p_md members from MI code is not legal.


# dee4cc21 12-May-2003 tedu <tedu@openbsd.org>

use snprintf. ok mickey


# c2a90280 12-May-2003 mickey <mickey@openbsd.org>

sho proc [addr] to print some proc's field; art@ ok


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# c19e3eec 25-Jan-2002 art <art@openbsd.org>

poolify pcreds.


# 09291317 23-Jan-2002 art <art@openbsd.org>

Allocate rusage, pgrp, ucred and session with pool.


# c5790e3d 23-Jan-2002 art <art@openbsd.org>

Pool deals fairly well with physical memory shortage, but it doesn't deal
well (not at all) with shortages of the vm_map where the pages are mapped
(usually kmem_map).

Try to deal with it:
- group

Pool deals fairly well with physical memory shortage, but it doesn't deal
well (not at all) with shortages of the vm_map where the pages are mapped
(usually kmem_map).

Try to deal with it:
- group all information the backend allocator for a pool in a separate
struct. The pool will only have a pointer to that struct.
- change the pool_init API to reflect that.
- link all pools allocating from the same allocator on a linked list.
- Since an allocator is responsible to wait for physical memory it will
only fail (waitok) when it runs out of its backing vm_map, carefully
drain pools using the same allocator so that va space is freed.
(see comments in code for caveats and details).
- change pool_reclaim to return if it actually succeeded to free some
memory, use that information to make draining easier and more efficient.
- get rid of PR_URGENT, noone uses it.

show more ...


# dccfbd71 16-Jan-2002 miod <miod@openbsd.org>

Don't include <sys/map.h> when you don't need what's in it.


# 9dc70864 23-Mar-2001 art <art@openbsd.org>

Use pool to allocate processes.


# f69f8c52 05-Jun-2000 art <art@openbsd.org>

Changes to exit handling.

cpu_exit no longer frees the vmspace and u-area. This is now handled by a
separate kernel thread "reaper". This is to avoid sleeping locks in the
critical path of cpu_exit

Changes to exit handling.

cpu_exit no longer frees the vmspace and u-area. This is now handled by a
separate kernel thread "reaper". This is to avoid sleeping locks in the
critical path of cpu_exit where we're not allowed to sleep.

From NetBSD

show more ...


# a197ef32 28-Apr-1999 art <art@openbsd.org>

zap the newhashinit hack.
Add an extra flag to hashinit telling if it should wait in malloc.
update all calls to hashinit.


# 87997ff0 02-Mar-1998 todd <todd@openbsd.org>

Please gcc 2.8


# d48fc887 20-Feb-1998 niklas <niklas@openbsd.org>

Please GCC 2.8 -Wall


# a587dc79 24-Nov-1997 deraadt <deraadt@openbsd.org>

fix memory leak; hbriceno@lcs.mit.edu


# 5ac46f4a 03-Mar-1996 niklas <niklas@openbsd.org>

From NetBSD: 960217 merge


12345