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

Human Resources Management System

A Human Resources Management System (HRMS) is a software application that supports many functions of a company's Human Resources department, including benefits administration, payroll,...

How To Defend Yourself Against Identity Theft

Almost every worldwide government agency responsible for identity theft issues will tell you the same thing: The first step to fighting identity theft is...

Infographic

An infographic is a visual representation of information or data. It combines the words information and graphic and includes a collection of imagery, charts,...

Phishing

What is phishing? Phishing is a type of cybercrime in which victims are contacted by email, telephone, or text message by an attacker posing as...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...