summaryrefslogtreecommitdiff
path: root/sys/vm
AgeCommit message (Collapse)Author
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-08-18Move pmap_{de,}activate to vm/pmap.h, it's same on all archs.Artur Grabowski
2001-08-12buffer_map is not used.Miod Vallat
2001-08-12merge vm_map.h into uvm_map.h, kinda matches netbsd's approachMichael Shalayeff
2001-08-12vm_pager.h no moreMichael Shalayeff
2001-08-12vm_inherit.h no moreMichael Shalayeff
2001-08-12vm_extern.h no moreMichael Shalayeff
2001-08-12moce pglisth into uvm_pglist.hMichael Shalayeff
2001-08-12vm/vm_prot.h no moreMichael Shalayeff
2001-08-11Various random fixes from NetBSD.Artur Grabowski
Including support for zeroing pages in the idle loop (not enabled yet).
2001-08-06remove vm_conf.h; art@ okMichael Shalayeff
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-08-02Sysctl for finding out how many pages there are in kmem_map.Artur Grabowski
2001-07-31pmap_steal_memory takes to vaddr_t * as arguments, not paddr_t *.Artur Grabowski
For some strange (ehmm) reason, only the prototype was wrong. The implementations were right.
2001-07-26No longer used.Artur Grabowski
2001-07-25Some updates to UVM from NetBSD. Nothing really critical, just a sync.Artur Grabowski
2001-07-25Change the pmap_enter interface to merge access_type and the wired booleanArtur Grabowski
and arbitrary flags into one argument. One new flag is PMAP_CANFAIL that tells pmap_enter that it can fail if there are not enough resources to satisfy the request. If this flag is not passed, pmap_enter should panic as it should have done before this change (XXX - many pmaps are still not doing that). Only i386 and alpha implement CANFAIL for now. Includes uvm updates from NetBSD.
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-05Remove some left-overs from the old vm system.Artur Grabowski
2001-07-05No need to include vm/vm_object.h.Artur Grabowski
It only includes to files which are already included by vm/vm.h
2001-07-05kern_fthread is no longer needed.Artur Grabowski
2001-06-27no more fork braindamageArtur Grabowski
2001-06-27clean cruft.Artur Grabowski
2001-06-27vm_pageout.h bye bye.Artur Grabowski
2001-06-27MNN is no longer an option.Artur Grabowski
2001-06-27Not used, kill.Artur Grabowski
2001-06-27heh.Artur Grabowski
2001-06-27Die!Artur Grabowski
2001-06-27Remove junk from headers, just leave enough for UVM.Artur Grabowski
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
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-09More sync to NetBSD.Artur Grabowski
- 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.
2001-05-06iprintf is not used with UVMArtur Grabowski
2001-05-05Remove the (vaddr_t) casts inside the round_page and trunc_page macros.Artur Grabowski
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts.
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-04-07Always get struct pglist from vm/pglist.h, otherwise old VM compilationsNiklas Hallqvist
generate redefinition errors.
2001-04-06Get rid of vm_pmap from struct vmspace.Artur Grabowski
2001-04-02On popular demand, the Linux-compatibility clone(2) implementation basedNiklas Hallqvist
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work.
2001-03-26Add to ifdef confusion.Artur Grabowski
The _pmap_enter kludge only applies to i386.
2001-03-23Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn'tTodd C. Miller
use that. Fixes size mismatch in i386 pmap.new kernel. This requires that users rebuild libkvm and friends using the new headers for ps et al to work with a new kernel.
2001-03-22Merge in NetBSD's PMAP_NEW, still disabledNiklas Hallqvist
2001-03-21Ok, I'm breaking my promise. I promised to not do anything with theArtur Grabowski
old vm system and I hoped that it would make people help me to switch all archs to uvm. But that didn't help. Fix pool to work with the old vm system (not optimal, ha!).
2001-03-09Add mlockall and munlockall (dummy for the old vm system).Artur Grabowski
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-03-09PATH_MAX+1 is wrong. Not cranking libc/libc_r majors over this, since they ↵Theo de Raadt
just got cranked a little while ago. discussion with millert
2001-03-01Fix compilation problems caused by last updateConstantine Sapuntzakis
2001-02-28Get rid of VHOLD, replace with buf_replacevnode.Constantine Sapuntzakis
2001-02-24Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.Constantine Sapuntzakis
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list