Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-02-01 | Don't MALLOC/FREE with variable size. | Artur Grabowski | |
2002-02-01 | Allocate kqueues with pool. | Artur Grabowski | |
2002-02-01 | Don't MALLOC with variable size. | Artur Grabowski | |
2002-01-31 | Ignore signals if/when we are exiting. | Tobias Weingartner | |
Prevents a hang in the NFS code when dumping core and pressing ^C, etc. ok art@ | |||
2002-01-30 | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | Thomas Nordin | |
2002-01-30 | Add proc0 to the PIDHASH table. art@ ok | Thomas Nordin | |
2002-01-29 | Honor the printf-like function argument in pool_printit(), instead of | Miod Vallat | |
using printf(). Makes ddb sessions more fruitful. | |||
2002-01-28 | GC PR_STATIC and PR_MALLOCOK. | Artur Grabowski | |
PR_MALLOC wasn't used at all in the code and PR_STATIC was missing pieces and should be solved with allocators. | |||
2002-01-25 | Add a drain hook to each pool. This hook is called in three cases. | Artur Grabowski | |
1. When a pool hit the hard limit. Just before bailing out/sleeping. 2. When an allocator fails to allocate memory (with PR_NOWAIT). 3. Just before trying to reclaim some page in pool_reclaim. The function called form the hook should try to free some items to the pool if possible. Convert m_reclaim hooks that were embedded in MCLGET, MGET and MGETHDR into a pool drain hook (making the code much cleaner). | |||
2002-01-25 | poolify pcreds. | Artur Grabowski | |
2002-01-25 | Convert plimit allocations to pool. | Artur Grabowski | |
2002-01-25 | kernel printfs triggerable by a simple mistake in userland are just wrong. | Artur Grabowski | |
2002-01-23 | move mb_map allocation to mbinit() | Artur Grabowski | |
2002-01-23 | move definition of mb_map from zillions of machdep.c to uipc_mbuf.c | Artur Grabowski | |
2002-01-23 | Allocate rusage, pgrp, ucred and session with pool. | Artur Grabowski | |
2002-01-23 | Kill PR_FREEHEADER, not used anymore and confusing. | 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-21 | Mount points must fit in MNAMELEN, not MAXPATHLEN so use copyinstr() | Todd C. Miller | |
to detect whether the path passed in from userland is too long. Based on a patch from peterw AT ifost.org.au. | |||
2002-01-20 | When a process is exec:ing mark it with a flag. Check that flag in ptrace | Artur Grabowski | |
and procfs (and possibly more places in the future) and simply refuse to fiddle with the execing process. This is an ugly hack, but this far we haven't been successful in creating a race-free exec. | |||
2002-01-19 | If handler for SIGCHLD is SIG_IGN, reset to SIG_DLF. This is consistent | Todd C. Miller | |
with our handling of SA_NOCLDWAIT as well as other operating systems. From FreeBSD. | |||
2002-01-18 | Resource map code is not used anymore. Long live the extent code! | Miod Vallat | |
2002-01-18 | record ctime for the mountpoint, mount time or last mount update; art@ ok | Michael Shalayeff | |
2002-01-16 | Don't include <sys/map.h> when you don't need what's in it. | Miod Vallat | |
2002-01-12 | Don't cast return value from splx to (void) because splx doesn't return ↵ | Artur Grabowski | |
anything. | |||
2002-01-10 | Fix a locking error in pool_drain. Misc cleanup. | Artur Grabowski | |
From NetBSD. | |||
2002-01-10 | - unbreak POOL_DIAGNOSTIC. | Artur Grabowski | |
- use ltsleep instead of simple_unlock ; tsleep | |||
2002-01-10 | No more need for local define of LOCK_ASSERT. | Artur Grabowski | |
2002-01-10 | Protect the pool cache magazine pool with splvm. | Artur Grabowski | |
2002-01-10 | Convert some for-loops into TAILQ_FOREACH. | Artur Grabowski | |
2002-01-09 | make sure we use lkmfree() in error cases as well. | Eric Jackson | |
millert@ ok | |||
2002-01-07 | first pass cleanup for lkms | Eric Jackson | |
- Use queue.h macros instead of accessing members directly - Allocate from kernel_map instead of kmem_map - remove streams - free memory for syms in lkmunreserve() - change LMREADY arg to u_long (allow it to work on 64bit systems) - NetBSD - KNF | |||
2002-01-07 | If the handler for SIGCHLD is set to SIG_IGN, act as if the | Todd C. Miller | |
SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies. | |||
2002-01-02 | Remove reference to timeout table. deraadt@ ok | Thomas Nordin | |
2002-01-02 | register_t is not an int, so don't use it that way. | Artur Grabowski | |
Fixes PT_{READ,WRITE}_{I,D} on sparc64. | |||
2002-01-01 | 2002 | Theo de Raadt | |
2001-12-27 | makes a new accept() socket have the nonblock behavior. | Federico G. Schwindt | |
slightly modified version from the original diff by theo, based on comments by niels@ and deraadt@; both ok'ed. | |||
2001-12-27 | Increment reference count when copying session pointer pr#2112. ok deraadt@ | Thomas Nordin | |
2001-12-22 | New scalable implementation with constant time add and delete. ok deraadt@ | Thomas Nordin | |
2001-12-20 | Make user/system times increase monotonically. ok deraadt@ and millert@ | Thomas Nordin | |
2001-12-19 | UBC was a disaster. It worked very good when it worked, but on some | Artur Grabowski | |
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience. | |||
2001-12-18 | NRL license cleaning | Theo de Raadt | |
2001-12-14 | New hz value needed by AlphaServer 1200 and a couple other machines | Nathan Binkert | |
2001-12-12 | Handle itimer intervals smaller than the resolution of the clock; pr#2182. | Thomas Nordin | |
2001-12-10 | No need to initialize the uobj on every getnewvnode. Just do | Artur Grabowski | |
it when allocating. Add some improved diagnostics. | |||
2001-12-10 | Don't sleep on VXLOCK if LK_NOWAIT. | Artur Grabowski | |
2001-12-10 | No need for uvm_useracc here now. vslock catches those problems. | Artur Grabowski | |
2001-12-10 | regen | Artur Grabowski | |
2001-12-10 | Big cleanup inspired by NetBSD with some parts of the code from NetBSD. | Artur Grabowski | |
- get rid of VOP_BALLOCN and VOP_SIZE - move the generic getpages and putpages into miscfs/genfs - create a genfs_node which must be added to the top of the private portion of each vnode for filsystems that want to use genfs_{get,put}pages - rename genfs_mmap to vop_generic_mmap | |||
2001-12-10 | Merge in struct uvm_vnode into struct vnode. | Artur Grabowski | |
2001-12-08 | Sprinkle pmap_update calls where relevant and some other | Artur Grabowski | |
misc pmap usage fixes. |