Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

50. Virtual Memory Operations

Chapter 50. Virtual Memory Operations

This chapter looks at various system calls that perform operations on a process’s virtual address space:

  • The mprotect() system call changes the protection on a region of virtual memory.

  • The mlock() and mlockall() system calls lock a region of virtual memory into physical memory, thus preventing it from being swapped out.

  • The mincore() system call allows a process to determine whether the pages in a region of virtual memory are resident in physical memory.

  • The madvise() system call allows a process to advise the kernel about its future patterns of usage of a virtual memory region.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint