Changeset 8a2474f in mainline
- Timestamp:
- 2011-04-16T12:44:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e394b736
- Parents:
- 9dd730d1
- Location:
- kernel/generic/src/mm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_anon.c
r9dd730d1 r8a2474f 77 77 bool anon_resize(as_area_t *area, size_t new_pages) 78 78 { 79 /**80 * @todo81 * Reserve also space needed for the supporting strutures allocated82 * during page fault.83 */84 85 79 if (new_pages > area->pages) 86 80 return reserve_try_alloc(new_pages - area->pages); -
kernel/generic/src/mm/backend_elf.c
r9dd730d1 r8a2474f 75 75 size_t nonanon_pages = ALIGN_DOWN(entry->p_filesz, PAGE_SIZE); 76 76 77 /**78 * @todo:79 * Reserve only how much is necessary for anonymous pages plus the80 * supporting structures allocated during the page fault.81 */82 83 77 if (area->pages <= nonanon_pages) 84 78 return true;
Note:
See TracChangeset
for help on using the changeset viewer.