Changes in kernel/generic/src/mm/backend_anon.c [59fb782:5df1963] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_anon.c
r59fb782 r5df1963 118 118 */ 119 119 mutex_lock(&area->sh_info->lock); 120 list_foreach(area->used_space.leaf_list, cur) {121 btree_node_t *node;120 list_foreach(area->used_space.leaf_list, leaf_link, btree_node_t, 121 node) { 122 122 unsigned int i; 123 123 124 node = list_get_instance(cur, btree_node_t, leaf_link);125 124 for (i = 0; i < node->keys; i++) { 126 125 uintptr_t base = node->key[i]; … … 295 294 * the normal unreserving frame_free(). 296 295 */ 297 frame_free(frame );296 frame_free(frame, 1); 298 297 } else { 299 298 /* … … 302 301 * manipulate the reserve or it would be given back twice. 303 302 */ 304 frame_free_noreserve(frame );303 frame_free_noreserve(frame, 1); 305 304 } 306 305 }
Note:
See TracChangeset
for help on using the changeset viewer.