summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_fault.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of the PMAP_NEW option by making it mandatory for all archs.art2001-07-181-13/+9
| | | | | The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions.
* Sync with NetBSD 19990911 (just before PMAP_NEW was required)smart2001-06-231-5/+5
| | | | | | | | | | - 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
* Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toart2001-06-081-10/+5
| | | | | boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
* More sync to NetBSD.art2001-05-091-22/+4
| | | | | | | - Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
* Few fixes from NetBSD.art2001-05-071-9/+59
| | | | | | - 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).
* Merge in NetBSD's PMAP_NEW, still disabledniklas2001-03-221-4/+9
|
* Sync style, typo, and comments a little closer to NetBSD. art@ oksmart2001-03-221-2/+2
|
* More syncing to NetBSD.art2001-03-091-6/+5
| | | | | | | Implements mincore(2), mlockall(2) and munlockall(2). mlockall and munlockall are disabled for the moment. The rest is mostly cosmetic.
* Replace thread_wakeup() with wakeup(). It is defined in vm_extern.h as asmart2001-03-081-8/+8
| | | | | wrapper, so this removes a dependence on the old VM system. From NetBSD. art@ ok
* $OpenBSD$niklas2001-01-291-0/+1
|
* Bring in some new UVM code from NetBSD (not current).art2000-03-161-8/+37
| | | | | | | | | - 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.
* Change the pmap_enter api to pass down an argument that indicatesart1999-09-031-4/+4
| | | | | | | | | | the access type that caused this mapping. This is to simplify pmaps with mod/ref emulation (none for the moment) and in some cases speed up pmap_is_{referenced,modified}. At the same time, clean up some mappings that had too high protection. XXX - the access type is incorrect in old vm, it's only used by uvm and MD code. The actual use of this in pmap_enter implementations is not in this commit.
* sync with NetBSD from 1999.05.24 (there is a reason for this date)art1999-08-231-28/+54
| | | | | Mostly cleanups, but also a few improvements to pagedaemon for better handling of low memory and/or low swap conditions.
* add OpenBSD tagsart1999-02-261-0/+1
|
* Import of uvm from NetBSD. Some local changes, some code disabledart1999-02-261-0/+1747