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 is a contributor for websites such as Webopedia.com and Enterprise Storage Forum. She writes about information technology security, networking, and data storage. Jenna lives in Nashville, TN.

Top Articles

List of Windows Operating System Versions & History [In Order]

The Windows operating system (Windows OS) refers to a family of operating systems developed by Microsoft Corporation. We look at the history of Windows...

How to Create a Website Shortcut on Your Desktop

Website Shortcut on Your Desktop reviewed by Web Webster   This Webopedia guide will show you how to create a website shortcut on your desktop using...

What are the Five Generations of Computers? (1st to 5th)

Reviewed by Web Webster Learn about each of the 5 generations of computers and major technology developments that have led to the computing devices that...

Hotmail [Outlook] Email Accounts

Launched in 1996, Hotmail was one of the first public webmail services that could be accessed from any web browser. At its peak in...

Indicators of Compromise

When a system administrator finds anomalous or malicious behavior within network...

Disk Drive

A disk drive is a device that allows a computer to read from...

Firewall as a Service...

For the cloud-first organization, Firewall as a Service (FWaaS) brings all...