Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-12-05 | If we assume (just pure speculation) that there will be a pmap sometime in | Artur Grabowski | |
the future that wants to allocate pv entries for every pmap_enter and wants to allocate those pv entries from kmem_map, it might be a good idea to init the kmem_map before initializing the kmemusage struct (because kmemusage allocates memory). | |||
2001-12-05 | make nkmempages dynamic based on memory. okay art@ from netbsd: | Niels Provos | |
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file. | |||
2001-12-05 | Oops forgot to regen. | Artur Grabowski | |
2001-12-05 | Break out the part that lowers v_holdcnt in brelvp into an own function | Artur Grabowski | |
and make it and vhold into public interfaces. | |||
2001-12-04 | Yet another sync to NetBSD uvm. | Artur Grabowski | |
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed. | |||
2001-12-04 | Readd VOP_MMAP, will be used soon. Right now it's just a question to | Artur Grabowski | |
the filesystem if we're allowed to mmap the file. | |||
2001-12-04 | Add declaration of "state" to _simple_lock_assert(). Since it is | Todd C. Miller | |
an int this can safely be omitted but it is bad style to do so. Closes PR 2223. | |||
2001-12-02 | release the right descriptors when pipe fails; bug report from | Niels Provos | |
marcodsl@swbell.net | |||
2001-12-02 | remove some XXX comments | Theo de Raadt | |
2001-11-30 | sbcompress() can compact mbuf clusters now; from thorpej@netbsd | Niels Provos | |
2001-11-30 | Call buf_cleanout, which handles wakeups | Constantine Sapuntzakis | |
2001-11-29 | Bunch of bug fixes from NetBSD. | Artur Grabowski | |
Mostly dealing with holes in files. | |||
2001-11-29 | Ooops. Revert part of the last commit that was completly wrong and wasn't ↵ | Artur Grabowski | |
supposed to be committed. | |||
2001-11-29 | Make sure the whole buffer is initialized before calling bgetvp. | Artur Grabowski | |
Recommended by csapuntz@ | |||
2001-11-29 | Correctly handle b_vp with bgetvp and brelvp in {get,put}pages. | Artur Grabowski | |
Prevents panics caused by vnodes being recycled under our feet. | |||
2001-11-28 | Sync in more uvm from NetBSD. Mostly just cosmetic stuff. | Artur Grabowski | |
Contains also support for page coloring. | |||
2001-11-28 | avoid possible infinite loop in sosend() on 64bit systems. - from netbsd | Eric Jackson | |
art@ ok | |||
2001-11-28 | regen | Artur Grabowski | |
2001-11-28 | more typedef zapping vm_page_t -> struct vm_page * | Artur Grabowski | |
2001-11-28 | zap some typedefs. | Artur Grabowski | |
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit) | |||
2001-11-28 | avoid "thundering herd" problem in accept by waking just one process. | Niels Provos | |
based on freebsd. okay art@ markus@ | |||
2001-11-28 | Sync in more uvm changes from NetBSD. | Artur Grabowski | |
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead. | |||
2001-11-28 | from enami@netbsd: | Niels Provos | |
Give different names for different wait channels | |||
2001-11-27 | change socket allocation to pool allocator; from netbsd; okay niklas@ | Niels Provos | |
2001-11-27 | fix an error in sosend() that could make a transient error permant. | Niels Provos | |
verified with both netbsd and freebsd. from netbsd: Tue Jun 8 02:39:57 1999 UTC by thorpej In sosend(), if so_error is set, clear it before returning the error to the process (i.e. pre-Reno behavior). The 4.4BSD behavior (introduced in Reno) caused transient errors to stick incorrectly. This is from PR #7640 (Havard Eidnes), cross-checked w/ FreeBSD, where Bill Fenner committed the same fix (as described in a comment in the Vat sources, by Van Jacobsen). | |||
2001-11-27 | change socket connection queues to use TAILQ_ | Niels Provos | |
from NetBSD: Wed Jan 7 23:47:08 1998 UTC by thorpej Make insertion and removal of sockets from the partial and incoming connections queues O(C) rather than O(N). | |||
2001-11-27 | kill breada | Artur Grabowski | |
2001-11-27 | regen for UBC changes | Artur Grabowski | |
2001-11-27 | Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The | Artur Grabowski | |
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups. | |||
2001-11-21 | Added vfs_isbusy. Useful for verifying that a mount point is locked | Constantine Sapuntzakis | |
Added vfs_mount_foreach_vnode. Several places in the code seem to want to traverse the mount list and they all seem to handle locking differently. Centralize traversing the mount list in one place so that we only need to get the locking right once. | |||
2001-11-15 | bio_doread doesn't need a cred anymore | Artur Grabowski | |
2001-11-15 | Remove creds from struct buf, move the creds that nfs need into the nfs node. | Artur Grabowski | |
While in the area, convert nfs node allocation from malloc to pool and do some cleanups. Based on the UBC changes in NetBSD. niklas@ ok. | |||
2001-11-15 | Initialize list | Niklas Hallqvist | |
2001-11-15 | remove statics | Niklas Hallqvist | |
2001-11-15 | Don't zero v_bioflag when recycling a vnode in getnewvnode. | Artur Grabowski | |
Sometimes the vnode can be on the syncers list. While that is a bug, it's just a minor annoyance. A vnode on a syncer worklist without VBIOONSYNCLIST set is a disaster. | |||
2001-11-15 | Make sure that stuff on the syncer worklist has VBIOONSYNCLIST set | Artur Grabowski | |
and stuff that isn't on the worklist doesn't have it set. | |||
2001-11-15 | New function vn_marktext - mark a vnode as executing a text image. | Artur Grabowski | |
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet). | |||
2001-11-14 | Better exit codes. ok mickey,millert,miod,deraadt | Hakan Olsson | |
2001-11-14 | in poll, if fd is < 0, clear revents; bjy@mogua.org | Theo de Raadt | |
2001-11-14 | Compat layer for 1k Vax aout, from NetBSD. | Hugh Graham | |
2001-11-12 | Remove unnecessary check for NULL vnode in reassignbuf. | Artur Grabowski | |
2001-11-12 | Bring in more changes from NetBSD. Mostly pagedaemon improvements. | Artur Grabowski | |
2001-11-11 | Let ltsleep take a const wmesg. | Artur Grabowski | |
2001-11-10 | Move maxdmap and maxsmap to kern_resource.c | Artur Grabowski | |
2001-11-10 | Merge in some parts of the ubc work that has been done in NetBSD that are not | Artur Grabowski | |
UBC, but prerequsites for it. - Create a daemon that processes async I/O (swap and paging in the future) requests that need processing in process context and that were processed in the pagedaemon before. - Convert some ugly ifdef DIAGNOSTIC code to less intrusive KASSERTs. - misc other cleanups. | |||
2001-11-09 | Use bufpool, not malloc. | Artur Grabowski | |
2001-11-09 | Create bufpool - a pool of struct bufs. | Artur Grabowski | |
2001-11-07 | new flag to lockmgr. LK_RECURSEFAIL - even if the lock can recurse fail. | Artur Grabowski | |
2001-11-07 | Add an alignment argument to uvm_map that specifies an alignment hint | Artur Grabowski | |
for the virtual address. | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) |