kernel/vm: Introduce VMCache::CanOvercommit().

Allows the Anonymous caches to report overcommitting status.
This commit is contained in:
Augustin Cavalier
2024-12-13 14:25:40 -05:00
parent 8308c16a5c
commit e7af1dd2e0
6 changed files with 24 additions and 0 deletions
+1
View File
@@ -149,6 +149,7 @@ public:
{ return fRefCount; }
// backing store operations
virtual bool CanOvercommit();
virtual status_t Commit(off_t size, int priority);
virtual bool HasPage(off_t offset);