Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5ecac7e in mainline


Ignore:
Timestamp:
2021-09-15T15:22:27Z (6 weeks ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
80d4aea
Parents:
ebb3538
Message:

Improve merging zones once more

It is not sufficient to just mark the frames in the gap between the
original zones as unavailable. The frames need to be properly
initialized as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    rebb3538 r5ecac7e  
    519519
    520520        for (size_t i = 0; i < gap; i++) {
     521                frame_initialize(&zones.info[z1].frames[old_z1->count + i]);
    521522                zone_mark_unavailable(&zones.info[z1], old_z1->count + i);
    522523        }
Note: See TracChangeset for help on using the changeset viewer.