Changeset 6188fee in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2023-02-26T11:24:51Z (22 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deed510
Parents:
65f3117
Message:

Exclude boot allocations in frame allocator

I think some platforms only worked by pure luck without this.
Particularly ppc32, on which this luck was broken by previous
commit.

File:
1 edited

Legend:

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

    r65f3117 r6188fee  
    752752                                        continue;
    753753
     754                                if (overlaps(addr, PFN2ADDR(confcount),
     755                                    KA2PA(ballocs.base), ballocs.size))
     756                                        continue;
     757
    754758                                bool overlap = false;
    755759                                for (size_t i = 0; i < init.cnt; i++) {
Note: See TracChangeset for help on using the changeset viewer.