summaryrefslogtreecommitdiff
path: root/Kernel/VM/PrivateInodeVMObject.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-14 05:06:29 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-15 09:01:32 +0200
commita324d4d6a342ad6847697c32f127c31ea76f6e61 (patch)
tree8e5b1cbeeedf8b9b66e35f35cd248e61cbd9e5d3 /Kernel/VM/PrivateInodeVMObject.h
parentd45db06826461886b69a832ae34f933d3b613fc7 (diff)
downloadserenity-a324d4d6a342ad6847697c32f127c31ea76f6e61.zip
Kernel: Make AnonymousVMObject physical page APIs OOM safe
AnonymousVMObject::create_with_physical_page(s) can't be NonnullRefPtr as it allocates internally. Fixing the API then surfaced an issue in ScatterGatherList, where the code was attempting to create an AnonymousVMObject in the constructor which will not be observable during OOM. Fix all of these issues and start propagating errors at the callers of the AnonymousVMObject and ScatterGatherList APis.
Diffstat (limited to 'Kernel/VM/PrivateInodeVMObject.h')
0 files changed, 0 insertions, 0 deletions