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

Changeset 0d8a304 in mainline for kernel/generic/src/mm/reserve.c


Ignore:
Timestamp:
2011-05-16T20:33:11Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
Children:
3375bd4, 97d42d5
Parents:
0496c17 (diff), 8d308b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~jakub/helenos/mm.

File:
1 edited

Legend:

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

    r0496c17 r0d8a304  
    4545IRQ_SPINLOCK_STATIC_INITIALIZE_NAME(reserve_lock, "reserve_lock");
    4646static ssize_t reserve = 0;
     47
     48/** Initialize memory reservations tracking.
     49 *
     50 * This function must be called after frame zones are created and merged
     51 * and before any address space area is created.
     52 */
     53void reserve_init(void)
     54{
     55        reserve = frame_total_free_get();
     56}
    4757
    4858/** Try to reserve memory.
Note: See TracChangeset for help on using the changeset viewer.