summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-12-26 00:52:33 +0200
committerAndreas Kling <kling@serenityos.org>2021-12-26 11:26:39 +0100
commit7757d874adc269dce5b6ee44792b6c5a3841ff58 (patch)
treebf490f33306cd8564db568a7d8ca9293ccb57090 /Kernel/init.cpp
parent1c99f99e995e348ffb5f7726c4f068f66ab08aa4 (diff)
downloadserenity-7757d874adc269dce5b6ee44792b6c5a3841ff58.zip
Kernel: Assert that a KmallocSubheap fits inside a page
Since we allocate the subheap in the first page of the given storage let's assert that the subheap can actually fit in a single page, to prevent the possible future headache of trying to debug the cause of random kernel memory corruption :^)
Diffstat (limited to 'Kernel/init.cpp')
0 files changed, 0 insertions, 0 deletions