summaryrefslogtreecommitdiff
path: root/sys/vm
AgeCommit message (Collapse)Author
1998-10-30fix !VM_PAGE_NOADD case which was incompilable.Michael Shalayeff
fix printf() strings so they won't spread all across the screen. kids tested, mother approved.
1998-09-11include pmap.h earlier, so MD pmap structures may beMichael Shalayeff
kept all together in the pmap.h file w/o spreading all over MD includes. verified on most architectures.
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵Todd C. Miller
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
1998-06-09a = a + b; --> a += b;Michael Shalayeff
correct printf in the vm_page_bootstrap()
1998-06-02const mlock(2) and munlock(2)Theo de Raadt
1998-05-11Do not allow mapping of immutable/append-only in a way that allows writing.Niklas Hallqvist
Information about the problem gathered from NetBSD, but solved in a different albeit similar way.
1998-04-25Fix my messup in the last commit, thanks mickeyNiklas Hallqvist
1998-04-25typoNiklas Hallqvist
1998-04-25typoNiklas Hallqvist
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-20Some cleanup of page stealsNiklas Hallqvist
1998-03-02Move some pmap_* protos out of PMAP_EXCLUDE_DECLS as sparc does not need/wantNiklas Hallqvist
them virtualized
1998-03-01Put back former pmap_steal_memory in non MNN case, at least i386 stillNiklas Hallqvist
needs it.
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.
1998-02-25check for zerodev special case before kicking out all VCHR casesTheo de Raadt
1998-02-23KNFNiklas Hallqvist
1998-02-23KNFNiklas Hallqvist
1998-02-19Tighten up the mmapping of char devices even more. Do not allowNiklas Hallqvist
MAP_PRIVATE or MAP_COPY of them as it was incorrectly handled anyhow.
1998-02-18do not permit read+write mmap on a read-only device-based descriptor;Theo de Raadt
mostly from chuck@maria.wustl.edu
1998-02-06Maintain count of free pages. This bug triggered total hangs onNiklas Hallqvist
big buffer cache systems where the cache got split up between low and high memory
1998-02-03Fix the non-MACHINE_NONCONTIG case for Jason's fix.Todd C. Miller
1998-02-02Replay revisions 1.8 and 1.9.Jason Downs
1998-02-02The "fix" for running out of kernel maps, from FreeBSD. Integrated byJason Downs
myself a couple of weeks ago; reviewed and tested by a few people since then.
1997-12-12careful about redefining TRUE and FALSETheo de Raadt
1997-12-10Fix for chuck cranor's crashme program.Constantine Sapuntzakis
1997-12-02Protect some more vnode operation with splbio. Needed for correct interactionConstantine Sapuntzakis
with soft updates code.
1997-11-14convert to void *addrTheo de Raadt
1997-11-13make msync() have 3 argsTheo de Raadt
1997-11-11double MAX_KMAPENT and MAX_KMAPTodd C. Miller
1997-11-10KNF from NetBSDNiklas Hallqvist
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-11-04Indentation.Tobias Weingartner
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-25Add back that XXX i386-specific code as the old isadma code needs it. Sorry!Niklas Hallqvist
1997-09-22From NetBSD: vm_page_alloc_memory giving continuous memoryNiklas Hallqvist
1997-09-22correct a commentchuck
1997-09-17Overflow checksTobias Weingartner
1997-08-18if no swap has been configured at boot time, swapon could not addNiklas Hallqvist
the first swap partition. This was a problem with ccd- or vnd-only swap setups
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-05-28move vm_cache_max into param.cMichael Shalayeff
make it maxusers adaptive note, that NTEXT approximation is probably not the best idea
1997-05-22use SWAPSKIPBYTES for miniroot preservation, tooTheo de Raadt
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.
1997-04-10always skip the first 8K of swap. Yes, 8K, not some manufactured number that ↵Theo de Raadt
ends up being 4K
1997-03-29Do not include mmap'ed device memory in coredumps; from Matthias DrochnerThorsten Lockert
<drochner@zel024.zel.kfa-juelich.de> in NetBSD PR 3252
1997-03-26Just some initial KNF in preparation for some other changes coming soonNiklas Hallqvist