diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-05-14 05:06:29 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-15 09:01:32 +0200 |
commit | a324d4d6a342ad6847697c32f127c31ea76f6e61 (patch) | |
tree | 8e5b1cbeeedf8b9b66e35f35cd248e61cbd9e5d3 /Kernel/VM/PrivateInodeVMObject.h | |
parent | d45db06826461886b69a832ae34f933d3b613fc7 (diff) | |
download | serenity-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