mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Kernel: Make AnonymousVMObject COW-Bitmap allocation OOM-fallible
This commit is contained in:
parent
871a53db76
commit
8030e2a88f
5 changed files with 35 additions and 21 deletions
|
@ -167,7 +167,7 @@ public:
|
|||
[[nodiscard]] size_t amount_dirty() const;
|
||||
|
||||
[[nodiscard]] bool should_cow(size_t page_index) const;
|
||||
void set_should_cow(size_t page_index, bool);
|
||||
ErrorOr<void> set_should_cow(size_t page_index, bool);
|
||||
|
||||
[[nodiscard]] size_t cow_pages() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue