Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Memory Management in Linux Kernel

via Udemy

Overview

Linux Kernel Programming - Memory Management in Deep

What you'll learn:
  • Knowledge of Memory management in Linux Kernel

Update: 16th Oct 2020: Added Notes/Examples used in the course

What will you learn from this course?

  • Physical Address space of processor and how to view it in Linux

  • Virtual Address space of processor

  • Kernel and User space virtual address space

  • Pages and Page Fault

  • How to convert virtual address into physical address and the format specifiers used to print

  • Low Memory and High Memory

  • Memory Allocation Mechanism - Buddy Allocator

  • Zones - /proc/buddyinfo

  • Dynamic Memory Allocation in Linux Kernel

  • Various flags used in kmalloc - GFP_KERNEL, GFP_ATOMIC, GFP_DMA

  • Differences between kmalloc and vmalloc

  • What happens when you pass 0 in kmalloc and vmalloc

  • Kernel Stack

API's covered in this course:

  • virt_to_phys

  • phys_to_virt

  • kmalloc

  • kfree

  • krealloc

  • ksize

  • vmalloc

  • vfree

Commands used in this course:

  • qemu-system-x86

Taught by

Linux Trainer

Reviews

4.2 rating at Udemy based on 208 ratings

Start your review of Memory Management in Linux Kernel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.