System Software-I. Unit 4.
  1. Dynamic Memory Allocation.
  2. The glibc malloc() API family.
  3. The program break: using the sbrk().
  4. How malloc(3) really behaves.
  5. Code example - malloc() and program break.
  6. Scenario 3 - large allocations option.
  7. Advanced features: demand paging.
  8. Advanced features: Locking memory in RAM.
  9. The posix_memalign(3) API.
  10. Advanced features: Memory protection.
  11. Advanced features: Memory protection: memory testing function.
  12. Advanced features: Using alloca to allocate automatic memory.
  13. Exercises.
Last Updated 21 Sep, 2020 18:10. <vadimov@i.ua>