Memory Mapping

Memory mapping is a process or command in computer programming that requests that files, code, or objects be brought into system memory. It allows files or data to be processed temporarily as main memory by a central processing unit. Memory mapping I/O (input/output) uses an external device, which connects to a computer system so that the computer’s CPU can access the data within the device.

mmap() function

The mmap() system call in Unix, Linux, and other programs (such as C programming language) allows a program to create a new address in which it can process files or objects. Memory mapping requests that files, code, or objects be brought into a different address (in this case, system memory). The operating system, or kernel in Linux, must find or approve the new address. Once the new address has been mapped, mmap() uses the length of bytes to map the data.

The munmap() command, or system call, unmaps or terminates the session when the computer has finished processing the data in memory.






Jenna Phipps
Jenna Phipps
Jenna Phipps is a writer for Webopedia.com, Enterprise Storage Forum, and CIO Insight. She covers data storage systems and data management, information technology security, and enterprise software solutions.

Related Articles

Special Character

A special character is one that is not considered a number or letter. Symbols, accent marks, and punctuation marks are considered special characters. Similarly,...

Software

Table of contents What is Software? History of Software Software vs. Hardware Software vs. Hardware Comparison Chart What Types of Software Exist? Saas vs....

Email Address

What is an Email Address? An email address is a designation for an electronic mailbox that sends and receives messages, known as email, on a...

Information Technology (IT) Architect

The information technology architect applies IT resources to meet specific business requirements. The role requires a high degree of technical expertise as well as...

Geotargeting

Geotargeting is a method of delivering data or content to users based on...

Agile Project Management

Agile project management enables business teams to approach their projects and tasks with...

Private 5G Network

A private 5G network is a private local area network (LAN) that utilizes...