summaryrefslogtreecommitdiff
path: root/Kernel/Profiling.h
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-09-01 16:02:39 -0600
committerAndreas Kling <kling@serenityos.org>2020-09-02 00:35:56 +0200
commitee51b28edd8b41c17102b70526203ea6774993cf (patch)
tree1682d64c7fa43f515c5666b490b7a5df077779cd /Kernel/Profiling.h
parentdec3998b3c45bb6c6120eb3f08b0e1f9f5dfacdc (diff)
downloadserenity-ee51b28edd8b41c17102b70526203ea6774993cf.zip
Kernel: Prevent recursive expansion or removing memory while expanding it
The process of expanding memory requires allocations and deallocations on the heap itself. So, while we're trying to expand the heap, don't remove memory just because we might briefly not need it. Also prevent recursive expansion attempts.
Diffstat (limited to 'Kernel/Profiling.h')
0 files changed, 0 insertions, 0 deletions