Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
1999-06-01 | remove the "ifdef pmap_resident_count" hack and replace it with a macro. | Artur Grabowski | |
change some &vm->vm_pmap to vm->vm_map.pmap | |||
1999-05-24 | quieter operation during initial mounting of primary swap | Tobias Weingartner | |
1999-05-22 | Add new vm_swap code for dynamic swap. From netbsd, munged some by me, and | Tobias Weingartner | |
others. syscall commit pending. | |||
1999-02-26 | add some struct members that uvm uses | Artur Grabowski | |
1999-02-19 | Allocate the u-area early in fork1 instead of in vm_fork. | Artur Grabowski | |
Now we can return ENOMEM instead of doing a panic when we run out of memory. | |||
1999-02-19 | make vm_page_alloc_contig() a std function | Theo de Raadt | |
1999-02-08 | typo in comment | Artur Grabowski | |
1999-02-01 | More general conditional for mips | Per Fogelstrom | |
1999-01-10 | vm_map_deallocate: only release the simple lock when ref_count > 0. in the ↵ | Artur Grabowski | |
other case the simple lock is released in vm_map_lock_drain_*interlock* | |||
1999-01-09 | Fix to a VM cache trash bug by Chuck Cranor | Niklas Hallqvist | |
1998-12-30 | indent | Artur Grabowski | |
1998-12-30 | clean up DIAGNOSTIC | Artur Grabowski | |
1998-10-30 | fix !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-11 | include pmap.h earlier, so MD pmap structures may be | Michael Shalayeff | |
kept all together in the pmap.h file w/o spreading all over MD includes. verified on most architectures. | |||
1998-07-28 | Return 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-09 | a = a + b; --> a += b; | Michael Shalayeff | |
correct printf in the vm_page_bootstrap() | |||
1998-06-02 | const mlock(2) and munlock(2) | Theo de Raadt | |
1998-05-11 | Do 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-25 | Fix my messup in the last commit, thanks mickey | Niklas Hallqvist | |
1998-04-25 | typo | Niklas Hallqvist | |
1998-04-25 | typo | Niklas Hallqvist | |
1998-03-30 | do not count proc0 faults (happens in amiga pmap_init) | Niklas Hallqvist | |
1998-03-26 | correctly count ru_majflt. the fix pulled in from netbsd pr#1397 is | chuck | |
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-20 | Some cleanup of page steals | Niklas Hallqvist | |