Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-01-15 | A fix to amap_wiperange from Chuck Cranor that has been in my tree for | Artur Grabowski | |
a while. With his words: " here is a fix for a bug in amap_wiperange (was posted on netbsd's tech-kern list). i screwed up the loop control :(" | |||
2002-01-02 | Back out a few more uvm changes, especially wrt swap usage. | Miod Vallat | |
This unbreaks m68k m88k sparc and perhaps others, which eventually froze when hitting swap. Tested by various people on various platforms. ok art@ | |||
2002-01-02 | Add more vocabulary (commands) to ddb, from NetBSD. | Miod Vallat | |
ok art@ (manual page update coming soon) | |||
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-10 | Merge in struct uvm_vnode into struct vnode. | Artur Grabowski | |
2001-12-06 | remove unnecessary newline | Niklas Hallqvist | |
2001-12-06 | Keep track of how many pages a vnode hold with vhold and vholdrele | Artur Grabowski | |
so that we can get back the old behavior where a vnode with cached data is less likely to be recycled than a vnode without cached data. XXX - This is a brute-force solution - we do it where uvmexp.vnodepages are changed, I am not really sure it is correct but people have been very happy with the diff so far and want this in the tree. | |||
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-02 | VOP_GETPAGES expects the vnode locked. Make it so. | Artur Grabowski | |
Note that VOP_PUTPAGES has the same problems, but the fix will be more complicated. | |||
2001-11-30 | Now that pmaps can have vm_page_md, make pmap_physseg optional. | Artur Grabowski | |
2001-11-30 | Kill uvm_pagealloc_contig. The two drivers that still used it should have | Artur Grabowski | |
been converted to bus_dma ages ago, but since noone haven't bothered to do that I haven't bothered to do more than to test that the kernel still builds with those changes. | |||
2001-11-30 | Call buf_cleanout, which handles wakeups | Constantine Sapuntzakis | |
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 | more sync to netbsd. some bugfixes in uvm_km_kmemalloc, lots of fixes in ↵ | Artur Grabowski | |
uvm_loan. | |||
2001-11-28 | make pmap_virtual_space madatory in all pmaps. | Artur Grabowski | |
2001-11-28 | pmap_kenter_pgs is not used and not really useful. remove. | Artur Grabowski | |
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-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-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-12 | Bring in more changes from NetBSD. Mostly pagedaemon improvements. | Artur Grabowski | |
2001-11-11 | Sync in more stuff from NetBSD. | 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 | various style fixes. | Artur Grabowski | |
2001-11-09 | minor sync to NetBSD. | Artur Grabowski | |
2001-11-07 | Another sync of uvm to NetBSD. Just minor fiddling, no major changes. | 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) | |||
2001-11-06 | Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument, | Artur Grabowski | |
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD. | |||
2001-11-06 | More sync to NetBSD. | Artur Grabowski | |
- Use malloc/free instead of MALLOC/FREE for variable sized allocations. - Move the memory inheritance code to sys/mman.h and rename from VM_* to MAP_* - various cleanups and simplifications. | |||
2001-11-06 | Move the last content from vm/ to uvm/ | Artur Grabowski | |
The only thing left in vm/ are just dumb wrappers. vm/vm.h includes uvm/uvm_extern.h vm/pmap.h includes uvm/uvm_pmap.h vm/vm_page.h includes uvm/uvm_page.h | |||
2001-11-06 | Kill vm/vm_param.h, move it to uvm/uvm_param.h | Artur Grabowski | |
2001-11-06 | Sync to NetBSD. | Artur Grabowski | |
2001-11-06 | sync to NetBSD. | Artur Grabowski | |
2001-11-06 | Minor sync to NetBSD. | Artur Grabowski | |
2001-11-05 | Minor sync to NetBSD. | Artur Grabowski | |
2001-11-01 | Don't allow negative offsets. Some type confusion. | Artur Grabowski | |
2001-11-01 | Change d_mmap in struct cdevsw from: | Artur Grabowski | |
int (*d_mmap) __P((dev_t, int, int)); to: paddr_t (*d_mmap) __P((dev_t, off_t, int)); This allows us to mmap devices past 4GB offsets. | |||
2001-10-26 | - every new fd created by falloc() is marked as larval and should not be used | Artur Grabowski | |
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile. | |||
2001-09-20 | occured->occurred | Mike Pechkin | |
idea from deraadt@ via NetBSD millert@ ok | |||
2001-09-20 | Avoid leaking memory if uiomove fails. | Artur Grabowski | |
2001-09-19 | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | Michael Shalayeff | |
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |
2001-09-05 | use %ll instead of %q | Theo de Raadt | |
2001-08-31 | do not init swapdev_vp if it's already done elsewhere; art@ ok | Michael Shalayeff | |
2001-08-25 | Default to disabled zeroing of pages in the idle loop. | Artur Grabowski | |
2001-08-24 | switch to the optimised AES reference code from | Markus Friedl | |
http://www.esat.kuleuven.ac.be/~rijmen/rijndael/rijndael-fst-3.0.zip the same code is used by ssh, so please make sure to update usr.sbin/ssh/rijndael.c if you change this code. tested on sparc (jason) and with swap encryption (me); ok deraadt@, provos@ | |||
2001-08-12 | merge vm_map.h into uvm_map.h, kinda matches netbsd's approach | Michael Shalayeff | |
2001-08-12 | vm_pager.h no more | Michael Shalayeff | |