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

Changeset d060900 in mainline


Ignore:
Timestamp:
2011-04-16T17:53:56Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
8b6930d
Parents:
28295955
Message:

Feed memory from the newly created zone into the reservation system.

File:
1 edited

Legend:

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

    r28295955 rd060900  
    519519        ASSERT(link);
    520520        zone->free_count--;
     521        reserve_force_alloc(1);
    521522}
    522523
     
    838839                        buddy_system_free(zone->buddy_system, &zone->frames[i].buddy_link);
    839840                }
     841
     842                /* "Unreserve" new frames. */
     843                reserve_free(count);
    840844        } else
    841845                zone->frames = NULL;
Note: See TracChangeset for help on using the changeset viewer.