summaryrefslogtreecommitdiff
path: root/sys/vm/vm_fault.c
AgeCommit message (Collapse)Author
1999-09-03Change the pmap_enter api to pass down an argument that indicatesArtur Grabowski
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.
1998-03-30do not count proc0 faults (happens in amiga pmap_init)Niklas Hallqvist
1998-03-26correctly count ru_majflt. the fix pulled in from netbsd pr#1397 ischuck
incorrect. calling vm_pager_get() doesn't count as a "majflt" unless the pager returns VM_PAGER_OK. when walking an object chain we can get VM_PAGER_FAIL (indicating that the requested data does not reside in this object and we must continue to walk the chain) -- we don't want to count this as a majflt. i also added code to count ru_minflt.
1998-03-01Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,Niklas Hallqvist
<chuck@openbsd.org>. This code is as of yet disabled on all platforms, actually not yet supported on more than mvme68k, although other platforms are expected soon, as code is already available. This code makes handling of multiple physical memory regions consistent over all platforms, as well as keeping the performance of maintaining a single continuous memory chunk. It is also a requirement for the upcoming UVM replacement VM system. What I did in this merge: just declared the pmap_map function in a MD include file per port that needs it. It's not an exported pmap interface, says Chuck. It ended up in differnt include files on differnet ports, as I tried to follow the current policy on a per-arch basis.
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-07-30backout the curproc dereference change says kstailey@openbsd.orgNiklas Hallqvist
1997-07-30KNFNiklas Hallqvist
1997-07-30From NetBSD: protect a curproc dereference against NULLNiklas Hallqvist
1997-07-25tabifyMichael Shalayeff
some /lx/p/ printf changes
1997-04-17Removal of race conditions. Inspired by Charles Hannum'sNiklas Hallqvist
<mycroft@netbsd.org> reorganization of the vm_collapse logic, although not used verbatim. We no longer collapse objects from the pagedaemon as that is not necessary anymore with the more aggressive collapses that gets done. This also increases performance of loaded systems. Much KNF too.
1996-11-23curproc is never NULL when this code is executedkstailey
1996-08-02Fix long-standing swap-leak. Add OpenBSD tags. Optimize thread_wakeup.Niklas Hallqvist
1996-05-23count pagein faults; netbsd pr#1397Theo de Raadt
1996-03-03From NetBSD: merge with 960217Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt