haiku/headers/private/kernel/vm
Ingo Weinhold f082f7f019 * Added vm_page::accessed flag. Works analogously to vm_page::modified.
* Reorganized the code for [un]mapping pages:
  - Added new VMTranslationMap::Unmap{Area,Page[s]}() which essentially do what
    vm_unmap_page[s]() did before, just in the architecture specific code, which
    allows for specific optimizations. UnmapArea() is for the special case that
    the complete area is unmapped. Particularly in case the address space is
    deleted, some work can be saved. Several TODOs could be slain.
  - Since they are only used within vm.cpp vm_map_page() and vm_unmap_page[s]()
    are now static and have lost their prefix (and the "preserveModified"
    parameter).
* Added VMTranslationMap::Protect{Page,Area}(). They are just inline wrappers
  for Protect().
* X86VMTranslationMap::Protect(): Make sure not to accidentally clear the
  accessed/dirty flags.
* X86VMTranslationMap::Unmap()/Protect(): Make page table skipping actually
  work. It was only skipping to the next page.
* Adjusted the PPC code to at least compile.

No measurable effect for the -j8 Haiku image build time, though the kernel time
drops minimally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 22:32:51 +00:00
..
VMAddressSpace.h * Added vm_page::accessed flag. Works analogously to vm_page::modified. 2010-01-15 22:32:51 +00:00
VMArea.h * Added VMArea subclasses VM{Kernel,User}Area and moved the address space list 2009-12-04 17:07:16 +00:00
VMCache.h Added VMCache::SwitchFromReadLock(), atomically unlocking a read lock and 2010-01-07 15:32:28 +00:00
VMTranslationMap.h * Added vm_page::accessed flag. Works analogously to vm_page::modified. 2010-01-15 22:32:51 +00:00
vm.h * Added vm_page::accessed flag. Works analogously to vm_page::modified. 2010-01-15 22:32:51 +00:00
vm_page.h * Added new debug feature (DEBUG_PAGE_ACCESS) to detect invalid concurrent 2010-01-07 02:37:05 +00:00
vm_priv.h
vm_types.h * Added vm_page::accessed flag. Works analogously to vm_page::modified. 2010-01-15 22:32:51 +00:00