*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_fault_prefault (9)              
Title
Content
Arch
Section
 

NAME    [Toc]    [Back]

     vm_fault_prefault -- cluster page faults into a process's address space

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/pmap.h>

     void
     vm_map_prefault(pmap_t pmap, vm_offset_t addra, vm_map_entry_t entry);

DESCRIPTION    [Toc]    [Back]

     The vm_map_prefault() function provides a means of clustering pagefaults
     into a process's address space.  It operates upon the physical map pmap.
     The entry argument specifies the entry to be prefaulted; the addra argument
 specifies the beginning of the mapping in the process's virtual
     address space.

     It is typically called by vm_fault() after the first page fault.  It benefits
 the exec() system call by eliminating repetitive calls to
     vm_fault(), which would otherwise be made to bring the process's executable
 pages into physical memory.

IMPLEMENTATION NOTES    [Toc]    [Back]

     This is a machine-independent function which calls the machine-dependent
     pmap_is_prefaultable() helper function to determine if a page may be prefaulted
 into physical memory.

SEE ALSO    [Toc]    [Back]

     execve(2), pmap_is_prefaultable(9)
      
      

AUTHORS    [Toc]    [Back]

     This manual page was written by Bruce M Simpson <bms@spc.org>.


				 July 21, 2003
[ Back ]

VM_FAULT_PREFAULT(9)

Contents

 Similar pages
Name OS Title
nmmap Tru64 Maps an open file into a process's address space (libnuma library).
copyoutstr Tru64 General: Copies a null-terminated string from a kernel address space to a user address space
copyinstr Tru64 General: Copies a null-terminated string from a user address space to a kernel address space
copyin Tru64 General: Copies data from a user address space to a kernel address space
copyout Tru64 General: Copies data from a kernel address space to a user address space
pmap_extract_and_hold FreeBSD map a virtual address to a physical page
pmap_extract FreeBSD map a virtual address to a physical page
pmap_extract Tru64 General: Extracts a physical page address
mlockall IRIX lock or unlock address space
catchsegv Linux Catch segmentation faults in programs
Cheap Flights | Fast Loans | Mortgage Calculator | Verizon Ringtones | Bad Credit Mortgages
Copyright © 2004-2005 DeniX Solutions SRL