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