Kernel: Add a specific-page variant of Region::commit()

This commit is contained in:
Andreas Kling 2019-12-18 22:43:32 +01:00
commit 1d4d6f16b2
Notes: sideshowbarker 2024-07-19 10:48:52 +09:00
2 changed files with 26 additions and 13 deletions

View file

@ -98,7 +98,8 @@ public:
return m_offset_in_vmo;
}
int commit();
bool commit();
bool commit(size_t page_index);
size_t amount_resident() const;
size_t amount_shared() const;