diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-24 22:49:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-25 14:39:25 +0200 |
commit | 143443e0b6412cd7f5a702e5b190bea60da733fe (patch) | |
tree | 5d1490936ab7a056db804c4ba5ffd22558afa429 /.pre-commit-config.yaml | |
parent | 24b5295b3038dc0b7a49367476b5b8594268163d (diff) | |
download | serenity-143443e0b6412cd7f5a702e5b190bea60da733fe.zip |
LibGfx: Make Gfx::Bitmap::set_nonvolatile() report allocation failure
Making a bitmap non-volatile after being volatile may fail to allocate
physical pages after the kernel stole the old pages in a purge.
This is different from the pages being purged, but reallocated. In that
case, they are simply replaced with zero-fill-on-demand pages as if
they were freshly allocated.
Diffstat (limited to '.pre-commit-config.yaml')
0 files changed, 0 insertions, 0 deletions