Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
2001-05-10 | More 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-10 | Some locking protocol fixes and better enforcement of wiring limits. | Artur Grabowski | |
From NetBSD. | |||
2001-05-09 | More 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-06 | iprintf is not used with UVM | Artur Grabowski | |
2001-05-05 | Remove 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-05 | Get 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-07 | Always get struct pglist from vm/pglist.h, otherwise old VM compilations | Niklas Hallqvist | |
generate redefinition errors. | |||
2001-04-06 | Get rid of vm_pmap from struct vmspace. | Artur Grabowski | |
2001-04-02 | On popular demand, the Linux-compatibility clone(2) implementation based | Niklas 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-26 | Add to ifdef confusion. | Artur Grabowski | |
The _pmap_enter kludge only applies to i386. | |||
2001-03-23 | Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn't | Todd 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-22 | Merge in NetBSD's PMAP_NEW, still disabled | Niklas Hallqvist | |
2001-03-21 | Ok, I'm breaking my promise. I promised to not do anything with the | Artur 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-09 | Add mlockall and munlockall (dummy for the old vm system). | Artur Grabowski | |
2001-03-09 | More 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-09 | PATH_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-01 | Fix compilation problems caused by last update | Constantine Sapuntzakis | |
2001-02-28 | Get rid of VHOLD, replace with buf_replacevnode. | Constantine Sapuntzakis | |
2001-02-24 | Cleanup 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 | |||
2000-11-10 | seperate -> separate, okay aaron@ | Niels Provos | |
2000-11-08 | Include vm_page.h and reorder some. | Artur Grabowski | |
2000-06-14 | put in own ctl level for swapencrypt. | Niels Provos | |
2000-05-27 | Make this compile for VM_PSTRAT_RANDOM. | Artur Grabowski | |
2000-03-16 | Bring 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. | |||
2000-03-15 | Don't allow the PAGE_SIZE macros to be exported to userland. | Artur Grabowski | |
2000-03-15 | More stuff that doesn't belong in UVM. | Artur Grabowski | |
2000-03-15 | cast the VM_INHERIT_ constants to the correct type. | Artur Grabowski | |
2000-03-13 | various cleanups | Artur Grabowski | |
2000-03-13 | zap #if 0 code | Artur Grabowski | |
2000-03-13 | vm_size_t -> vsize_t | Artur Grabowski | |
2000-03-13 | Put a lot more behind ifndef UVM. | Artur Grabowski | |
2000-03-13 | Some vm_offset_t -> vaddr_t (&co) and some ifndef uvm. | Artur Grabowski | |
2000-01-27 | No prototypes and variables from this file are used in UVM. (ifdef) | Artur Grabowski | |
1999-12-30 | swap encryption for UVM, option UVM_SWAP_ENCRYPT. needs to be enabled | Niels Provos | |
via sysctl. Pages are encrypted with the Blowfish encryption algorithm, the key is initialized randomly on first swap out, ensuring that entropy has accumulated in the kernel randomness pool. Eventually, swap encryption will be decided on a process by process basis, e.g. a process that reads from a cryptographic filesystem will enable swap encrypt for its pages. okay art@ and deraadt@. | |||
1999-12-29 | fix return type for pmap_growkernel; art@ ok | Michael Shalayeff | |
1999-11-25 | Update comments to reflect reality. | Artur Grabowski | |
1999-11-25 | Allow MD code to define PAGE_SIZE to a constant. | Artur Grabowski | |
1999-10-11 | permit builds with NFSSERVER, without NFSCLIENT; cmetz | Theo de Raadt | |
1999-09-03 | Change the pmap_enter api to pass down an argument that indicates | Artur 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. | |||
1999-08-23 | vm_offset_t -> {v,p}addr_t, vm_size_t -> {v,p}size_t | Artur Grabowski | |
1999-08-23 | vm_offset_t -> {v,p}addr_t + some other cleanup | Artur Grabowski | |
1999-08-18 | some ifndef UVM | Artur Grabowski | |
1999-08-17 | typo | Niklas Hallqvist | |
1999-08-17 | New cpu_fork API to take a stack in which you point the child's stackpointer | Niklas Hallqvist | |
to, at the bottom or the top, depending on your architecture's stack growth direction. This is in preparation for Linux' clone(2) emulation. port maintainers, please check that I did the work right. | |||
1999-07-18 | pmap_activate() and pmap_deactivate() are MD | Theo de Raadt | |
1999-07-09 | vm_offset_t -> {v,p}addr_t and vm_size_t -> {v,p}size_t | Artur Grabowski | |
1999-07-06 | use NFSSERVER || NFSCLIENT instead of NFS | Theo de Raadt | |
1999-06-29 | remove vm_inherit_t casts, not really needed; millert@ | Aaron Campbell | |
1999-06-23 | Improved sysv shared memory. Works with UVM. | Artur Grabowski | |
Original work done in FreeBSD, but this code was ported from NetBSD by Chuck Cranor. |