Skip to content
Snippets Groups Projects
  1. Mar 21, 2013
  2. Mar 20, 2013
    • Nadav Har'El's avatar
      Less repetitive mmap/unmap/mprotect code · 6f121c15
      Nadav Har'El authored
      Rewriten the mmap/unmap/mprotect to be much less repetitive.
      There is a new "page_range_operation" class, from which the classes
      "populate", "unpopulate", and "protect" classes derive to implement
      mmap, munmap and mprotect respectively. The code is now much shorter,
      less repetitive, clearer (I hope), and also better conforming to the
      new coding conventions.
      
      Note that linear_map is still separate, and page_range_operation keeps
      its old algorithm (of starting at the root again for each page). Now
      that we have this clean OO structure, it will be easier to change
      this algorithm to be similar to linear_map's.
      6f121c15
  3. Mar 19, 2013
  4. Mar 18, 2013
  5. Mar 17, 2013
  6. Mar 13, 2013
Loading