Linux Device Drivers Development: Develop customized drivers for embedded Linux by John Madieu

Linux Device Drivers Development: Develop customized drivers for embedded Linux by John Madieu

Author:John Madieu [Madieu, John]
Language: eng
Format: azw3, epub, pdf
Tags: COM088000 - COMPUTERS / System Administration / General, COM088010 - COMPUTERS / System Administration / Linux and UNIX Administration, COM046070 - COMPUTERS / Operating Systems / Linux
Publisher: Packt Publishing
Published: 2017-10-20T04:00:00+00:00


Virtual Memory Area (VMA)

The kernel uses virtual memory areas to keep track of the processes memory mappings, for example, a process having one VMA for its code, one VMA for each type of data, one VMA for each distinct memory mapping (if any), and so on. VMAs are processor-independent structures, with permissions and access control flags. Each VMA has a start address, a length, and their sizes are always a multiple of page size (PAGE_SIZE). A VMA consists of a number of pages, each of which has an entry in the page table.

Memory regions described by VMA are always virtually contiguous, not physically. One can check all VMAs associated with a process through the /proc/<pid>/maps file, or using the pmap command on a process ID.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.