Changeset 5df1963 in mainline for kernel/generic/src/mm/backend_anon.c


Ignore:
Timestamp:
2013-09-10T21:47:25Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0511549
Parents:
a501e22c
Message:

bitmap frame allocator does not keep track of the size of the allocated frame blocks
to avoid memory leaks the number of allocated frames needs to be passed explicitly during deallocation

File:
1 edited

Legend:

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

    ra501e22c r5df1963  
    294294                 * the normal unreserving frame_free().
    295295                 */
    296                 frame_free(frame);
     296                frame_free(frame, 1);
    297297        } else {
    298298                /*
     
    301301                 * manipulate the reserve or it would be given back twice.
    302302                 */
    303                 frame_free_noreserve(frame);
     303                frame_free_noreserve(frame, 1);
    304304        }
    305305}
Note: See TracChangeset for help on using the changeset viewer.