gamozolabs/chocolate_milk

Make page table mappings undo during failures

gamozolabs opened this issue · 0 comments

If we're mapping multiple pages and during the mapping we fail, we should undo the failed mappings.

We could alternatively do an initial pass which validates that no mapping can fail during the mapping process, but this can be difficult to rely on as the physical memory requirement would need to be computed assuming all tables and pages which need to be created.