* Added method VMCache::TransferAreas() moving areas from one cache to
another. The code originates from vm_copy_on_write_area(). We now generate the VM cache tracing entries, though. * count_writable_areas() -> VMCache::CountWritableAreas() * Added debugger command "cache_stack" which is enabled when VM cache tracing is enabled. It prints the source caches of a given cache or area at the time of a specified tracing entry. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34751 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -101,6 +101,8 @@ public:
|
||||
|
||||
status_t InsertAreaLocked(VMArea* area);
|
||||
status_t RemoveArea(VMArea* area);
|
||||
void TransferAreas(VMCache* fromCache);
|
||||
uint32 CountWritableAreas(VMArea* ignoreArea) const;
|
||||
|
||||
status_t WriteModified();
|
||||
status_t SetMinimalCommitment(off_t commitment);
|
||||
@@ -204,6 +206,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
status_t vm_cache_init(struct kernel_args *args);
|
||||
void vm_cache_init_post_heap();
|
||||
struct VMCache *vm_cache_acquire_locked_page_cache(struct vm_page *page,
|
||||
bool dontWait);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user