1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:35:07 +00:00

Kernel: Invalidate file-backed VMO's when inodes are written.

The current strategy is simply to nuke all physical pages and force
reload them from disk. This is obviously not optimal and should eventually
be optimized. It should be fairly straightforward.
This commit is contained in:
Andreas Kling 2019-02-05 08:17:46 +01:00
parent af21a45b1a
commit ca16d9d98e
7 changed files with 117 additions and 11 deletions

View file

@ -945,6 +945,7 @@ void Process::push_value_on_stack(dword value)
void Process::crash()
{
ASSERT_INTERRUPTS_DISABLED();
ASSERT(is_ring3());
ASSERT(state() != Dead);
m_termination_signal = SIGSEGV;
dump_regions();