summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Collapse)Author
2001-08-11Various random fixes from NetBSD.Artur Grabowski
Including support for zeroing pages in the idle loop (not enabled yet).
2001-08-06Add a new type voff_t (right now it's typedefed as off_t) used for offsetsArtur Grabowski
into objects. Gives the possibilty to mmap beyond the size of vaddr_t. From NetBSD.
2001-07-18Correct the NetBSD tag.Artur Grabowski
2001-07-18Get rid of the PMAP_NEW option by making it mandatory for all archs.Artur Grabowski
The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions.
2001-07-17i suk. needs &'s on the locks...mts
2001-07-17current netbsd's uvm_map uses a 3-parm SAVE_HINT to perform a test/swapmts
under locked conditions. we currently use a 2-parm SAVE_HINT... to meet the same functionality, we instead need to validate the hint is the one CURRENTLY in the map before substituing it, and we need to do that while the lock is retained.
2001-07-11need to save hint (verified from current netbsd uvm_map.c) -- need modmts
to allow bpf to manage shared address space.
2001-06-23Sync with NetBSD 19990911 (just before PMAP_NEW was required)smart
- thread_sleep_msg() -> uvm_sleep() - initialize reference count lock in uvm_anon_{init,add}() - add uao_flush() - replace boolean 'islocked' with 'lockflags' - in uvm_fault() change FALSE to TRUE to in 'wide' fault handling - get rid of uvm_km_get() - various bug fixes
2001-05-10More sync to NetBSD.Artur Grabowski
The highlight is some more advices to madvise(2). o MADV_DONTNEED will deactive the pages in the given range giving a quicker reuse. o MADV_FREE will garbage-collect the pages and swap resources causing the next fault to either page in new pages from backing store (mapped vnode) or allocate new zero-fill pages (anonymous mapping).
2001-05-10Some locking protocol fixes and better enforcement of wiring limits.Artur Grabowski
From NetBSD.
2001-05-07Few fixes from NetBSD.Artur Grabowski
- make sure that vsunlock doesn't unwire mlocked memory. - fix locking in uvm_useracc. - Return the error uvm_fault_wire in uvm_vslock (will be used soon).
2001-05-05PMAP_NEW and UVM are no longer optional on i386.Artur Grabowski
2001-03-22Sync style, typo, and comments a little closer to NetBSD. art@ oksmart
2001-03-15Let uvm_map_extract set the lower bound on the address range itselfArtur Grabowski
instead of depending on the callers to do that. (which they don't)
2001-03-09More syncing to NetBSD.Artur Grabowski
Implements mincore(2), mlockall(2) and munlockall(2). mlockall and munlockall are disabled for the moment. The rest is mostly cosmetic.
2001-01-29$OpenBSD$Niklas Hallqvist
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-09-07Convert bzero to memset(X, 0..) and bcopy to memcpy.Artur Grabowski
This is to match (make diffs smaller) the code in NetBSD. new gcc inlines those functions, so this could also be a performance win.
2000-03-17fix a non-DIAGNOSTIC gotchaTheo de Raadt
2000-03-16Bring in some new UVM code from NetBSD (not current).Artur Grabowski
- Introduce a new type of map that are interrupt safe and never allow faults in them. mb_map and kmem_map are made intrsafe. - Add "access protection" to uvm_vslock (to be passed down to uvm_fault and later to pmap_enter). - madvise(2) now works. - various cleanups.
1999-08-23sync with NetBSD from 1999.05.24 (there is a reason for this date)Artur Grabowski
Mostly cleanups, but also a few improvements to pagedaemon for better handling of low memory and/or low swap conditions.
1999-02-26add OpenBSD tagsArtur Grabowski
1999-02-26Import of uvm from NetBSD. Some local changes, some code disabledArtur Grabowski