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
  • DownloadDownload
  • PrintPrint

50.5. Summary

In this chapter, we considered various operations that can be performed on a process’s virtual memory:

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

  • The mlock() and mlockall() system calls lock part or all of a process’s virtual address space, respectively, into physical memory.

  • The mincore() system call reports which pages in a virtual memory region are currently resident in physical memory.

  • The madvise() system call and the posix_madvise() function allow a process to advise the kernel about the process’s expected patterns of memory use.


  

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