summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Collapse)Author
2014-03-04use _KERNEL_OPT around #includematt
2014-03-01only check that npages fit, if we are going to add npages to swpgonly.christos
2014-02-26Fix copy & pastomartin
2014-02-26Add vm.min_address and vm.max_address which return VM_MIN_ADDRESS andmatt
VM_MAXUSER_ADDRESS.
2014-02-25Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist beforepooka
the sysctl link sets are processed, and remove redundancy. Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
2014-02-25Mark a potentially unused variablemartin
2014-02-25Mark a variable used only in diagnosticsmartin
2014-02-22Drop empty priority lists, not the full ones. Fixes kern/48611.mlelstv
2014-02-21Remove unnecessary struct simplelock forward declaration.skrll
2014-02-18Use same uvm_swap_shutdown() stub for !vmswap kernels and rump kernels.pooka
2014-02-03Properly translate struct swapent for COMPAT_NETBSD32manu
2014-01-25make this compile.christos
2014-01-25deal with COMPAT_10 issue.christos
2014-01-25delete VM_DEFAULT_ADDRESS and commentary which is no longer used/true.christos
2014-01-25provide proper defaults for topdown and bottomup allocation.christos
XXX: Ports that provide their own VM_DEFAULT_ADDRESS() need to provide the two new flavors, otherwise they get the default ones now.
2014-01-07Re-instate the zero length sections in elf core dumps (they probably helpdsl
describe the process memory layout). Fudge the a.out core code to not dump the entire contents. I'm not sue that anything can read a.out core files - more progress might be made on such dumps by converting the a.out file to elf!
2014-01-03There is no need for uvm_coredump_walkmap() to explicity pass the proc_tdsl
pointer to the calller's function. If the code needs the process its address can be placed in the caller's cookie.
2014-01-03Minor changes to the process coredump code.dsl
- Add some extra comments. - Add some XXX comments because the process state might not be stable, - Add uvm_coredump_count_segs() to simplify the calling code. - uvm code now only returns non-empty sections/segments. - Put the 'iocookie' into the 'cookie' block passed to uvm_coredump_walkmap() instead of passing it through as an additional parameter. amd64 can still generate core dumps that gdb can read.
2014-01-01Change the type of the 'cookie' that holds the state of the core dump filedsl
from 'void *' to the actual type 'struct coredump_iostate *'. In most of the code the contents of the structure are still unknown. This just stops the wrong type of pointer being passed to the 'void *' parameter. I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
2013-11-23fix circleq commentschristos
2013-11-23convert from CIRCLEQ to TAILQchristos
add uvm_swap_shutdown(), unused
2013-11-14As discussed on tech-kern: make TOPDOWN-VM runtime selectable per processmartin
(offer MD code or emulations to override it).
2013-10-25Mark a diagnostic-only variablemartin
2013-10-25Mark diagnostic-only variablesmartin
2013-10-25Mark a diagnostic-only variablemartin
2013-10-25Mark diagnostic-only variablesmartin
2013-10-25Mark a diagnostic-only variablemartin
2013-10-25Mark a diagnostic-only variablemartin
2013-10-25Optimize out VM_PHYSMEM_PTR_SWAP on architectures that have VM_PHYSSEG_MAX = 1martin
(hard to address two different array entries there w/o invoking undefined behaviour, and newer compilers complain about it).
2013-10-25Some pmaps may not consume all arguments of pmap_copy()martin
2013-10-18use __USE() for empty macrochristos
2013-09-15Mark potentialy unused variablesmartin
2013-09-15Mark a variable as potentially unusedmartin
2013-09-15Remove unused variablemartin
2013-09-11Allow MD code to add aditional checks for mmap(..., MAP_FIXED) addressmartin
ranges. This can be used, for example, to avoid not implemented VA-holes, but we probably need to check in a few more places.
2013-07-22In the non-MP case, just initialize onproc to NULL.matt
2013-07-22If not MULTIPROCESSOR, just make cpu_tlb_info(ci) return &pmap_tlb0_infomatt
2013-07-17Make this kcpuset_t instead of the private __cpuset_tmatt
Add improvements for single TLB implementation (PPC, ARM).
2013-07-02Split tlb related stuff into pmap_tlb.h so that can be used for ASID mgmtmatt
for non-soft TLB pmaps.
2013-05-07Set bp->b_resid to bp->b_bcount on error in swstrategy as required.riastradh
2013-02-02Remove __BEGIN_DECLS/__END_DECLSmatt
Allow pmap_kenter_pa to be a macro.
2013-01-29improve on commentspara
2013-01-29bring file up to date for previous vmem changes.para
2013-01-26revert previous commit not yet fully functional, sorrypara
2013-01-26make vmem(9) ready to be used early during bootstrap to replace extent(9).para
pass memory for vmem structs into the initialization functions and do away with the static pools for this. factor out the vmem internal structures into a private header. remove special bootstrapping of the kmem_va_arena as all necessary memory comes from pool_allocator_meta wich is fully operational at this point.
2012-11-27Until such time as the swap subsystem can be converted to use The One Truejakllsch
Allocator, prevent panics if (MAXPHYS/PAGE_SIZE) > BLIST_MAX_ALLOC. From Wolfgang Stukenbrock in PR#41765.
2012-11-02When uvm_io reserves kernel address space, make sure it's starts with thematt
same color as the user address space being copied.
2012-10-29get rid of not used uvm_map flag (UVM_MAP_KMAPENT)para
2012-10-03move from common/pmap/tlb -> uvm/pmapchristos
2012-09-15#include <sys/atomic.h>matt