Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Linux Kernel Memory Allocation : LDD with Raspberry Pi #10
Play lesson

Linux Driver Development with Raspberry Pi - Linux Kernel Memory Allocation : LDD with Raspberry Pi #10

4.0 (3)
31 learners

What you'll learn

This course includes

  • 8.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, we explore Linux kernel memory allocation mechanisms used in device driver development. We discuss how kmalloc, kzalloc, and vmalloc work, when to use each one, and how GFP flags affect memory allocation behavior. We also introduce the slab allocator, explain how it manages small kernel objects efficiently, and demonstrate direct slab cache creation using example code. Finally, we look at real kernel outputs using "/proc/meminfo" and "/proc/slabinfo", and explain SLUB cache merging behavior. Github :- https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi Buy me a Coffee : https://buymeacoffee.com/madhawapolb #linux #raspberrypi #memoryallocation #linuxkernel

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere