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

Changeset 28295955 in mainline


Ignore:
Timestamp:
2011-04-16T17:01:34Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
d060900
Parents:
89bcb520
Message:

frame_free_generic() can actually free multiple frames.

File:
1 edited

Legend:

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

    r89bcb520 r28295955  
    11471147        mutex_lock(&mem_avail_mtx);
    11481148        if (mem_avail_req > 0)
    1149                 mem_avail_req--;
     1149                mem_avail_req -= min(mem_avail_req, size);
    11501150       
    11511151        if (mem_avail_req == 0) {
Note: See TracChangeset for help on using the changeset viewer.