The Origins of Process Memory Exploring the Use of Various Memory Allocators in Linux C

Channel Avatar
Comment
X
Share
The Origins of Process Memory Exploring the Use of Various Memory Allocators in Linux C
The Origins of Process Memory Exploring the Use of Various Memory Allocators in Linux C
In this video, we discuss how memory can be allocated to a process when coding in C using the Linux System Call ABI. We talk about how an ELF gets processed and loaded into memory, and how the memory is mapped between the user and kernel space. We go over three seperate methods (malloc, sbrk, and mmap) to allocate more memory to a process other than the predefined stack space that the compiler puts in at compile time.

Drop a like and subscribe to be alerted about new videos!

COURSES
https://www.lowlevel.academy/courses/

LLL Merch: https://linktr.ee/lowlevellearning

Follow me on Twitter: https://twitter.com/lowlevellearni1
Follow me on Twitch: https://twitch.tv/lowlevellearning
Join me on Discord!: https://discord.gg/gZhRXDdBYY

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: c programming, linux c programming, malloc tutorial, sbrk vs mmap, mmap tutorial, embedded c programming, raspberry pi, pico, rpi, microcontroller, arduino, maker, craft, hobby, electronics, wires, temperature, safety, project, board, electric, leds, led, thonny, python, micropython, os, ide, onewire, ds18b20, circuitpython, review, launch, measure, probe, rp2040, specs, specifications, how to, guide, programming, Pico emulation, retro games raspberry pi pico, etaprime, eta prime, raspberry pi pico, arm cortex m0+

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *