Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-04 | oops, kernel free needs two args. thanks pedro | Ted Unangst | |
2005-07-03 | malloc(M_WAITOK) implies sleeping, so we have to double check that | Ted Unangst | |
somebody else didn't beat us in uid_find(). | |||
2005-03-10 | split out uidinfo from kern_proc.c private, use it to store lock count, | Ted Unangst | |
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 | |||
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2004-11-18 | handle SONPROC; ok aaron, deraadt, krw | Markus Friedl | |
2004-10-04 | cacheing -> caching | Pedro Martelletto | |
2004-07-25 | move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too. | Ted Unangst | |
shuffle functions around so that scheduler is all together. no real functional changes. ok art@ testing miod@ | |||
2004-07-22 | SIMPLELOCK -> mutex for the lock around deadproc list. | Artur Grabowski | |
Also move the whole deadproc infrastructure to kern_exit, it's only used there. miod@ ok | |||
2004-06-13 | debranch SMP, have fun | Niklas Hallqvist | |
2004-01-29 | The Sxxx proc state defines start at 1, not 0. Also make the const | Todd C. Miller | |
usage more correct and fix a signed/unsigned format mismatch. Based on a patch from Patrick Latifi. OK deraadt@ | |||
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. | |||
2003-05-12 | Quoting Theo: Do not approve diffs when you're hungover. | Artur Grabowski | |
Accessing p_md members from MI code is not legal. | |||
2003-05-12 | use snprintf. ok mickey | Ted Unangst | |
2003-05-12 | sho proc [addr] to print some proc's field; art@ ok | Michael Shalayeff | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-25 | poolify pcreds. | Artur Grabowski | |
2002-01-23 | Allocate rusage, pgrp, ucred and session with pool. | Artur Grabowski | |
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur Grabowski | |
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. | |||
2002-01-16 | Don't include <sys/map.h> when you don't need what's in it. | Miod Vallat | |
2001-03-23 | Use pool to allocate processes. | Artur Grabowski | |
2000-06-05 | Changes to exit handling. | Artur Grabowski | |
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 | |||
1999-04-28 | zap the newhashinit hack. | Artur Grabowski | |
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit. | |||
1998-03-02 | Please gcc 2.8 | Todd T. Fries | |
1998-02-20 | Please GCC 2.8 -Wall | Niklas Hallqvist | |
1997-11-24 | fix memory leak; hbriceno@lcs.mit.edu | Theo de Raadt | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |