summaryrefslogtreecommitdiff
path: root/Demos
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-17 14:33:06 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-17 14:33:06 +0100
commit4f4af24b9d489634a66d818260a7f87964faf421 (patch)
treeb81345f2ae11754506784477e68c37c09d0dc740 /Demos
parent0e33f53cf82bc757f4b7e8f21dbf211c5d188249 (diff)
downloadserenity-4f4af24b9d489634a66d818260a7f87964faf421.zip
Kernel: Tear down process address space during finalization
Process teardown is divided into two main stages: finalize and reap. Finalization happens in the "Finalizer" kernel and runs with interrupts enabled, allowing destructors to take locks, etc. Reaping happens either in sys$waitid() or in the scheduler for orphans. The more work we can do in finalization, the better, since it's fully pre-emptible and reduces the amount of time the system runs without interrupts enabled.
Diffstat (limited to 'Demos')
0 files changed, 0 insertions, 0 deletions