1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

Kernel: Make SharedInodeVMObject pages Bitmap allocation OOM-fallible

This commit is contained in:
Idan Horowitz 2022-02-10 19:39:17 +02:00
parent 8030e2a88f
commit d9d3362722
6 changed files with 26 additions and 22 deletions

View file

@ -28,8 +28,8 @@ public:
u32 executable_mappings() const;
protected:
explicit InodeVMObject(Inode&, FixedArray<RefPtr<PhysicalPage>>&&);
explicit InodeVMObject(InodeVMObject const&, FixedArray<RefPtr<PhysicalPage>>&&);
explicit InodeVMObject(Inode&, FixedArray<RefPtr<PhysicalPage>>&&, Bitmap dirty_pages);
explicit InodeVMObject(InodeVMObject const&, FixedArray<RefPtr<PhysicalPage>>&&, Bitmap dirty_pages);
InodeVMObject& operator=(InodeVMObject const&) = delete;
InodeVMObject& operator=(InodeVMObject&&) = delete;