freebsd-dev/sys/vm
Bruce Evans 324e9ed2a4 Added a `boundary' arg to vm_alloc_page_contig(). Previously the only
way to avoid crossing a 64K DMA boundary was to specify an alignment
greater than the size even when the alignment didn't matter, and for
sizes larger than a page, this reduced the chance of finding enough
contiguous pages.  E.g., allocations of 8K not crossing a 64K boundary
previously had to be allocated on 8K boundaries; now they can be
allocated on any 4K boundary except (64 * n + 60)K.

Fixed bugs in vm_alloc_page_contig():
- the last page wasn't allocated for sizes smaller than a page.
- failures of kmem_alloc_pageable() weren't handled.

Mutated vm_page_alloc_contig() to create a more convenient interface
named contigmalloc().  This is the same as the one in 1.1.5 except
it has `low' and `high' args, and the `alignment' and `boundary'
args are multipliers instead of masks.
1996-01-27 00:13:33 +00:00
..
default_pager.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
default_pager.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
device_pager.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
device_pager.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
kern_lock.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
lock.h Fix pollution of application namespace by declarations of kernel 1995-10-05 01:11:48 +00:00
pmap.h Cleaned up prototypes in pmap headers: removed ones for nonexistent 1995-12-17 07:39:05 +00:00
swap_pager.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
swap_pager.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vm_extern.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vm_fault.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_glue.c Don't use %r, we havn't got it anymore. 1996-01-25 07:15:40 +00:00
vm_inherit.h NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
vm_init.c Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00
vm_kern.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_kern.h Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
vm_map.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_map.h Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_meter.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vm_mmap.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_object.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_object.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vm_page.c Added a `boundary' arg to vm_alloc_page_contig(). Previously the only 1996-01-27 00:13:33 +00:00
vm_page.h Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_pageout.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm_pageout.h Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
vm_pager.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vm_pager.h Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00
vm_param.h Moved the declaration of boolean_t from <vm/vm_param.h> to 1995-12-10 02:34:29 +00:00
vm_prot.h Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
vm_swap.c i386/i386/conf.c is no longer needed.. remove it from files.i386 1995-12-21 20:09:46 +00:00
vm_unix.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vm.h Moved the declaration of boolean_t from <vm/vm_param.h> to 1995-12-10 02:34:29 +00:00
vnode_pager.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vnode_pager.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00