FACTOID # 21: 15% of Army recruits from South Dakota are Native American, which is roughly the same percentage for female Army recruits in the state.
 Home   Encyclopedia   Statistics   States A-Z   Flags   Maps   FAQ   About 


FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:



(* = Graphable)



Encyclopedia > Mmap

In computing, mmap() is a POSIX-compliant Unix system call that maps files or devices into memory. It is a kind of memory-mapped I/O. Originally, the word computing was synonymous with counting and calculating, and a science that deals with the original sense of computing mathematical calculations. ... POSIX is the collective name of a family of related standards specified by the IEEE to define the application program interface for software designed to run on variants of the Unix OS. They are formally designated as IEEE 1003 and the international standard name is ISO/IEC 9945. ... It has been suggested that this article or section be merged with Unix-like. ... In computing, a system call, or software interrupt is the mechanism used by an application program to request service from the operating system. ... Memory-mapped O/I (MMIO) and port O/I (also called port-mapped O/I or PMIO) are two complementary methods of performing input/output between the CPU and O/I devices in a computer. ...

In Linux, mmap() can create several types of mappings. This article is about Linux-based operating systems, GNU/Linux, and related topics. ...

Anonymous mappings are mappings of physical RAM to virtual RAM. This is similar to malloc(), and is used in some malloc() implementations for certain allocations. Random access memory (sometimes random-access memory), commonly known by its acronym RAM, is a type of computer storage whose contents can be accessed in any (i. ... Virtual memory is intended to help the programmer by taking care of some memory housekeeping duties. ... malloc is a function for performing dynamic memory allocation in the C programming language. ...

File backed mappings are mappings of files to virtual RAM. Access to those areas of RAM causes the file to be changed. Usually, the segment of the file mapped in is copied to RAM and periodically flushed to disk. If the mapping is shared, changes to that area in one process will affect other processes with that area mapped in immediately; otherwise, the changes will be asynchronous, and processes will not always have consistent views of that area. mmapping files can significantly reduce memory overhead for applications accessing the same file. If the file is mmapped the applications can then share the memory area the file encompassess, instead of loading the file for each application that wants access to it.

mmaped memory is kept visible across a fork. The title given to this article is incorrect due to technical limitations. ...

mmap is sometimes used for Interprocess Communication (IPC). On modern operating systems mmap is typically preferred to the System V IPC shared memory facility. Inter-process communication (IPC) is the exchange of data between one process and another, either within the same computer or over a network. ... In computing, an operating system (OS) is the system software responsible for the direct control and management of hardware and basic system operations. ... AT&T UNIX System V was one of the versions of the UNIX operating system. ...

References and further reading

  Results from FactBites:
mmap (3344 words)
The mmap() function shall establish a mapping between the address space of the process at an address pa for len bytes to the memory object represented by the file descriptor fildes at offset off for len bytes.
If the size of the mapped file changes after the call to mmap() as a result of some other operation on the mapped file, the effect of references to portions of the mapped region that correspond to added or removed portions of the file is unspecified.
The mmap() function shall add an extra reference to the file associated with the file descriptor fildes which is not removed by a subsequent close() on that file descriptor.
enGauge Resources—Classroom Resources (MMAP) (682 words)
MMAP is unique in that its software environments are simplified versions of software used by professionals.
MMAP is a series of project-based units that fit together as a middle-school mathematics curriculum.
MMAP has been rated promising by the Expert Panel on Mathematics and Science Education (established by the Office of Educational Research and Improvement of the U.S. Department of Education for the purpose of identifying and designating exemplary and promising programs).
  More results at FactBites »



Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:


Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m